Parcourir la source

[医保代码]

wangzhinan il y a 3 ans
Parent
commit
fe65b111f6

+ 0 - 2
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/PrescriptionService.java

@ -28,10 +28,8 @@ import com.yihu.jw.entity.base.doctor.BaseDoctorHospitalDO;
import com.yihu.jw.entity.base.im.ConsultTeamDo;
import com.yihu.jw.entity.base.org.BaseDoctorPatientFollowDO;
import com.yihu.jw.entity.base.org.BaseOrgDO;
import com.yihu.jw.entity.base.patient.BasePatientBusinessDO;
import com.yihu.jw.entity.base.patient.BasePatientDO;
import com.yihu.jw.entity.base.patient.PatientMedicareCardDO;
import com.yihu.jw.entity.base.sms.SmsTemplateDO;
import com.yihu.jw.entity.base.words.BaseSensitiveDO;
import com.yihu.jw.entity.base.wx.*;
import com.yihu.jw.entity.base.yx.YxTokenMappingDO;

+ 5 - 16
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/entrance/XzzxEntranceService.java

@ -2260,8 +2260,6 @@ public class XzzxEntranceService{
        String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
        logger.info("getSettleInfo json:"+xml);
        XMLSerializer xmlSerializer = new XMLSerializer();
        String json = xmlSerializer.read(xml).toString();
        List<WlyyOutpatientDO> wlyyOutpatientDOS = outpatientDao.findByRegisterNoList(his_serial);
        String outpatientId= null;
        if (wlyyOutpatientDOS!=null&&wlyyOutpatientDOS.size()!=0){
@ -2269,9 +2267,8 @@ public class XzzxEntranceService{
        }else {
            throw new Exception("门诊信息为空!");
        }
        JSONArray array = JSONArray.parseArray(json).getJSONArray(0);
        for (int i=0;i<array.size();i++){
            JSONObject object = array.getJSONObject(i);
        JSONObject object = JSONObject.parseObject(xml);
        if(!object.getString("ret_code").equalsIgnoreCase("-1")){
            YlzMedicalRelationDO ylzMedicalRelationDO = ylzMedicailRelationDao.findByLog_no(object.getString("log_no"));
            if (ylzMedicalRelationDO==null){
                ylzMedicalRelationDO = new YlzMedicalRelationDO();
@ -2612,9 +2609,7 @@ public class XzzxEntranceService{
        String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
        logger.info("confirmSettle json:"+xml);
        XMLSerializer xmlSerializer = new XMLSerializer();
        String json = xmlSerializer.read(xml).toString();
        return json;
        return xml;
    }
    /**
@ -2660,10 +2655,7 @@ public class XzzxEntranceService{
        logger.info("getRecipeInfo params:"+params.toString());
        String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
        logger.info("getRecipeInfo json:"+xml);
        XMLSerializer xmlSerializer = new XMLSerializer();
        String json = xmlSerializer.read(xml).toString();
        return json;
        return xml;
    }
    /**
@ -2724,10 +2716,7 @@ public class XzzxEntranceService{
        logger.info("confirmSettle params:"+params.toString());
        String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
        logger.info("confirmSettle json:"+xml);
        XMLSerializer xmlSerializer = new XMLSerializer();
        String json = xmlSerializer.read(xml).toString();
        return json;
        return xml;
    }
//=====================微信模板消息推送接口================================