Commit 2e5ad9832df5c17a1513cf7ace8ea9e41651eb7a

Authored by liquanyu
1 parent 813c5b0b96

儿童

Showing 1 changed file with 7 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 2e5ad98
... ... @@ -1492,7 +1492,7 @@
1492 1492 //把下次预约时间更新为空
1493 1493 if (StringUtils.isEmpty(nextCheckTime) && StringUtils.isNotEmpty(trackDownRecord.getId()))
1494 1494 {
1495   - trackDownRecordService.updateTrackDownOneCol(trackDownRecord.getId(),null);
  1495 + trackDownRecordService.updateTrackDownOneCol(trackDownRecord.getId(), null);
1496 1496 }
1497 1497  
1498 1498 }
... ... @@ -3229,6 +3229,12 @@
3229 3229 List<Patients> list = patientsService.queryPatient1(patientsQuery, "created");
3230 3230 System.out.println("分娩查询"+patientsQuery.convertToQuery().convertToMongoQuery().toString());
3231 3231 if (CollectionUtils.isNotEmpty(list)) {
  3232 + for(Patients pat : list) {
  3233 + if (StringUtils.isEmpty(pat.getSource()))
  3234 + {
  3235 + return pat;
  3236 + }
  3237 + }
3232 3238 return list.get(0);
3233 3239 }
3234 3240 if (outHospital) {