Commit 2b56831e41d2b02a5d0a96e2875029ce6a5ff1ab

Authored by wtt
1 parent ebe6f8f0ef

母子导出

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ 2b56831
... ... @@ -1526,7 +1526,7 @@
1526 1526 AntExChuQuery antExChuQuery = new AntExChuQuery();//获取初诊记录
1527 1527 antExChuQuery.setParentId(patients.getId());
1528 1528 List<AntExChuModel> antExChulist = antExService.queryAntExChu(antExChuQuery);
1529   - if(antExChulist!=null){
  1529 + if(antExChulist.size()!=0){
1530 1530 AntExChuModel data = antExService.findOne(antExChulist.get(0).getId());
1531 1531 Integer prodTime= data.getProdTime()+ 1;
1532 1532 healthHandbookExcelModel.setChildTime(data == null ? "" : (data.getProdTime() == null ? "" : prodTime.toString()));