| 
					
				 | 
			
			
				@ -1053,6 +1053,44 @@ public class EntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getFixationfluid())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" fixationfluid=\"" + vo.getFixationfluid() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 * 补充患者信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 * social_no 身份证、tell_phone 手机号、address1联系地址、address2、address3、address4、address5 area区、target职称类别 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getSocialNo())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" social_no=\"" + vo.getSocialNo() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getTellPhone())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" tell_phone=\"" + vo.getTellPhone() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getAddress1())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" address1=\"" + vo.getAddress1() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getAddress2())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" address2=\"" + vo.getAddress2() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getAddress3())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" address3=\"" + vo.getAddress3() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getAddress4())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" address4=\"" + vo.getAddress4() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getAddress5())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" address5=\"" + vo.getAddress5() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getArea())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" area=\"" + vo.getArea() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getTarget())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" target=\"" + vo.getTarget() + "\""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("判断自取或者快递标识"+vo.getSelfDelivered()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (StringUtils.isNotBlank(vo.getSelfDelivered())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sbs.append(" self_delivered=\"" + vo.getSelfDelivered() + "\""); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1813,6 +1851,28 @@ public class EntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return ConvertUtil.convertListEnvelopInBodyRow(resp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray MS02019(boolean demoFlag) throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String fid = "MS02019"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String resp = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (demoFlag) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            resp = getJosnFileResullt(fid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            StringBuffer sbs = new StringBuffer(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            //AccessControl :用户、密码、服务id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sbs.append("<ESBEntry><AccessControl><Fid>" + fid + "</Fid><UserName>" + mqUser + "</UserName><Password>" + mqPwd + "</Password></AccessControl>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            //MessageHeader :固定值 消费方系统编号 S60,提供方系统编号 S01 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sbs.append("<MessageHeader><Fid>" + fid + "</Fid><MsgDate>" + DateUtil.dateToStr(new Date(), DateUtil.YYYY_MM_DD_HH_MM_SS) + "</MsgDate><SourceSysCode>" + sourceSysCode + "</SourceSysCode><TargetSysCode>" + targetSysCode + "</TargetSysCode></MessageHeader>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            //查询信息拼接 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sbs.append("<MsgInfo><endNum>20000</endNum><Msg/>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sbs.append("<startNum>1</startNum></MsgInfo></ESBEntry>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            resp = MqSdkUtil.putReqAndGetRespByQueryStr(sbs.toString(), fid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            resp = MqSdkUtil.xml2jsonArrayRootRow(resp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return ConvertUtil.convertListEnvelopInBodyRow(resp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 同步医生到本地库,获取到医生的时候需要调用BS55010 查询医生的诊查费 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 
			 |