Commit 9fa470f6b01f1baba77a1831306670f9fd80c2b4

Authored by jiangjiazhi
1 parent 855b8a0168

其他高危

Showing 1 changed file with 25 additions and 22 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 9fa470f
... ... @@ -2219,31 +2219,34 @@
2219 2219 }
2220 2220 }
2221 2221 }
2222   - AntExChuQuery antExChuQuery =new AntExChuQuery();
2223   - antExChuQuery.setHospitalId(hospitalId);
2224   - antExChuQuery.setParentId(parentId);
2225   - antExChuQuery.setYn(YnEnums.YES.getId());
2226   - List<AntExChuModel> chuModelList= antenatalExaminationService.queryAntExChu(antExChuQuery);
2227   - if(CollectionUtils.isNotEmpty(chuModelList)){
2228   - for(AntExChuModel chu:chuModelList){
2229   - String zybd=chu.getZyqbd();
2230   - String ntjc= chu.getNtjc();
2231   - String cqsc= chu.getCjsc();
2232   - String text= chu.getTextpjbc();
2233   - String s75gdgtt= chu.getS75gdgtt();
2234   - String jzxgn= chu.getJzxgn();
2235   - if(StringUtils.isNotEmpty(zybd)||StringUtils.isNotEmpty(ntjc)||StringUtils.isNotEmpty(cqsc)||
2236   - StringUtils.isNotEmpty(text)||StringUtils.isNotEmpty(s75gdgtt)||StringUtils.isNotEmpty(jzxgn)){
2237   - m.put("zybd",zybd);
2238   - m.put("ntjc",ntjc);
2239   - m.put("cjsc",cqsc);
2240   - m.put("textpjbc",text);
2241   - m.put("s75gdgtt",s75gdgtt);
2242   - m.put("jzxgn",jzxgn);
2243   - break;
  2222 + if(CollectionUtils.isEmpty(examinationModelList)){
  2223 + AntExChuQuery antExChuQuery =new AntExChuQuery();
  2224 + antExChuQuery.setHospitalId(hospitalId);
  2225 + antExChuQuery.setParentId(parentId);
  2226 + antExChuQuery.setYn(YnEnums.YES.getId());
  2227 + List<AntExChuModel> chuModelList= antenatalExaminationService.queryAntExChu(antExChuQuery);
  2228 + if(CollectionUtils.isNotEmpty(chuModelList)){
  2229 + for(AntExChuModel chu:chuModelList){
  2230 + String zybd=chu.getZyqbd();
  2231 + String ntjc= chu.getNtjc();
  2232 + String cqsc= chu.getCjsc();
  2233 + String text= chu.getTextpjbc();
  2234 + String s75gdgtt= chu.getS75gdgtt();
  2235 + String jzxgn= chu.getJzxgn();
  2236 + if(StringUtils.isNotEmpty(zybd)||StringUtils.isNotEmpty(ntjc)||StringUtils.isNotEmpty(cqsc)||
  2237 + StringUtils.isNotEmpty(text)||StringUtils.isNotEmpty(s75gdgtt)||StringUtils.isNotEmpty(jzxgn)){
  2238 + m.put("zybd",zybd);
  2239 + m.put("ntjc",ntjc);
  2240 + m.put("cjsc",cqsc);
  2241 + m.put("textpjbc",text);
  2242 + m.put("s75gdgtt",s75gdgtt);
  2243 + m.put("jzxgn",jzxgn);
  2244 + break;
  2245 + }
2244 2246 }
2245 2247 }
2246 2248 }
  2249 +
2247 2250 return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("").setData(m);
2248 2251 }
2249 2252