| 
															
																@ -403,14 +403,15 @@ public class EntranceService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  患者门诊就诊记录 
															 | 
															
															 | 
															
																     *  患者门诊就诊记录 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  使用时间查询的话,很可能会超时。时间没有索引,所以超时时间需要加长 
															 | 
															
															 | 
															
																     *  使用时间查询的话,很可能会超时。时间没有索引,所以超时时间需要加长 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  @param PAT_NO 居民唯一号 一个居民在该医院只有一个号,该接口必须输入的参数 
															 | 
															
															 | 
															
																     *  @param PAT_NO 居民唯一号 一个居民在该医院只有一个号,该接口必须输入的参数 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  @param admNo 就诊唯一号 每一次就诊都有一个唯一号:居民号+就诊次数,查询确定的一条就诊记录时需要传,否则传null 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  @param registerSn 挂号流水号,查询确定的一条就诊记录时需要传,否则传null 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																     *  @param conNo 就诊次数,使用居民唯一号+就诊次数获取唯一一条就诊记录 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    // *  @param admNo 就诊唯一号 每一次就诊都有一个唯一号:居民号+就诊次数,查询确定的一条就诊记录时需要传,否则传null 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    // *  @param registerSn 挂号流水号,查询确定的一条就诊记录时需要传,否则传null 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  @param startTime 开始时间 (查询一段时间内就诊记录开始时间,查询就诊记录列表时需要传,否则传null) 
															 | 
															
															 | 
															
																     *  @param startTime 开始时间 (查询一段时间内就诊记录开始时间,查询就诊记录列表时需要传,否则传null) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     *  @param endTime  结束时间 (查询一段时间内就诊记录结束时间,查询就诊记录列表时需要传,否则传null) 
															 | 
															
															 | 
															
																     *  @param endTime  结束时间 (查询一段时间内就诊记录结束时间,查询就诊记录列表时需要传,否则传null) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     * @return 
															 | 
															
															 | 
															
																     * @return 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     * @throws Exception 
															 | 
															
															 | 
															
																     * @throws Exception 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     */ 
															 | 
															
															 | 
															
																     */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public  List<WlyyOutpatientVO> BS30025(String PAT_NO,String conNo,String admNo,String registerSn,String startTime,String endTime,boolean demoFlag) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public  List<WlyyOutpatientVO> BS30025(String PAT_NO,String conNo,String startTime,String endTime,boolean demoFlag) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        String fid = BS30025; 
															 | 
															
															 | 
															
																        String fid = BS30025; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        String resp = ""; 
															 | 
															
															 | 
															
																        String resp = ""; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        if (demoFlag) { 
															 | 
															
															 | 
															
																        if (demoFlag) { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -429,12 +430,6 @@ public class EntranceService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            if (StringUtils.isNotBlank(conNo)) { 
															 | 
															
															 | 
															
																            if (StringUtils.isNotBlank(conNo)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                sbs.append("<query compy=\"=\" item=\"CON_NO\" splice=\"and\" value=\"'" + conNo + "'\"/>"); 
															 | 
															
															 | 
															
																                sbs.append("<query compy=\"=\" item=\"CON_NO\" splice=\"and\" value=\"'" + conNo + "'\"/>"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            } 
															 | 
															
															 | 
															
																            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            if (StringUtils.isNotBlank(admNo)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                sbs.append("<query compy=\"=\" item=\"ADM_NO\" splice=\"and\" value=\"'" + admNo + "'\"/>"); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            if (StringUtils.isNotBlank(registerSn)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                sbs.append("<query compy=\"=\" item=\"REGISTER_SN\" splice=\"and\" value=\"'" + registerSn + "'\"/>"); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            if (StringUtils.isNotBlank(startTime)) { 
															 | 
															
															 | 
															
																            if (StringUtils.isNotBlank(startTime)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                sbs.append("<query compy=\">=\" item=\"CON_DATE\" splice=\"and\" value=\"'" + startTime + "'\"/>"); 
															 | 
															
															 | 
															
																                sbs.append("<query compy=\">=\" item=\"CON_DATE\" splice=\"and\" value=\"'" + startTime + "'\"/>"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            } 
															 | 
															
															 | 
															
																            } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -469,7 +464,7 @@ public class EntranceService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                } 
															 | 
															
															 | 
															
																                } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                wlyyOutpatientVO.setPatient(patNo); 
															 | 
															
															 | 
															
																                wlyyOutpatientVO.setPatient(patNo); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                wlyyOutpatientVO.setPatientName(patientName); 
															 | 
															
															 | 
															
																                wlyyOutpatientVO.setPatientName(patientName); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                wlyyOutpatientVO.setConNo(null == jsonObjectMgsInfo.get("CON_NO") ? "" : jsonObjectMgsInfo.get("CON_NO") + ""); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                wlyyOutpatientVO.setDoctor(null == jsonObjectMgsInfo.get("CON_DOC") ? "" : jsonObjectMgsInfo.get("CON_DOC") + ""); 
															 | 
															
															 | 
															
																                wlyyOutpatientVO.setDoctor(null == jsonObjectMgsInfo.get("CON_DOC") ? "" : jsonObjectMgsInfo.get("CON_DOC") + ""); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                wlyyOutpatientVO.setDoctorName(null == jsonObjectMgsInfo.get("CON_DOC_NAME") ? "" : jsonObjectMgsInfo.get("CON_DOC_NAME") + ""); 
															 | 
															
															 | 
															
																                wlyyOutpatientVO.setDoctorName(null == jsonObjectMgsInfo.get("CON_DOC_NAME") ? "" : jsonObjectMgsInfo.get("CON_DOC_NAME") + ""); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -1127,6 +1122,8 @@ public class EntranceService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        net.sf.json.JSONArray jsonArrayLast=new net.sf.json.JSONArray(); 
															 | 
															
															 | 
															
																        net.sf.json.JSONArray jsonArrayLast=new net.sf.json.JSONArray(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        if (demoFlag) { 
															 | 
															
															 | 
															
																        if (demoFlag) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            resp = getJosnFileResullt(fid); 
															 | 
															
															 | 
															
																            resp = getJosnFileResullt(fid); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            net.sf.json.JSONArray jsonArray1= ConvertUtil.convertListEnvelopInBodyRow(resp); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            jsonArrayLast.add(jsonArray1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } else { 
															 | 
															
															 | 
															
																        } else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            //获取检验送检记录 
															 | 
															
															 | 
															
																            //获取检验送检记录 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            JSONArray jsonArray= BS20010(patNo,conNo,demoFlag); 
															 | 
															
															 | 
															
																            JSONArray jsonArray= BS20010(patNo,conNo,demoFlag); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -1174,6 +1171,8 @@ public class EntranceService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        net.sf.json.JSONArray jsonArrayLast=new net.sf.json.JSONArray(); 
															 | 
															
															 | 
															
																        net.sf.json.JSONArray jsonArrayLast=new net.sf.json.JSONArray(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        if (demoFlag) { 
															 | 
															
															 | 
															
																        if (demoFlag) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            resp = getJosnFileResullt(fid); 
															 | 
															
															 | 
															
																            resp = getJosnFileResullt(fid); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            net.sf.json.JSONArray jsonArray1= ConvertUtil.convertListEnvelopInBodyRow(resp); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            jsonArrayLast.add(jsonArray1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } else { 
															 | 
															
															 | 
															
																        } else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            //获取微生物送检记录 
															 | 
															
															 | 
															
																            //获取微生物送检记录 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            JSONArray jsonArray= BS20018(patNo,conNo,demoFlag); 
															 | 
															
															 | 
															
																            JSONArray jsonArray= BS20018(patNo,conNo,demoFlag); 
															 |