Commit 8457c456ecd406471a1ec93739f69fbc426f1e20
1 parent
98e3b4d863
Exists in
master
and in
6 other branches
bug修复
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
8457c45
... | ... | @@ -777,7 +777,8 @@ |
777 | 777 | doctorName = couponMapper.findUserName(antexc.getProdDoctor()); |
778 | 778 | phone = findPhoneByPid(antexc.getPid()); |
779 | 779 | } else { |
780 | - AntenatalExaminationModel antenatal = mongoTemplate.findOne(Query.query(Criteria.where("barCode").is(sequence_id)), AntenatalExaminationModel.class); | |
780 | +// AntenatalExaminationModel antenatal = mongoTemplate.findOne(Query.query(Criteria.where("barCode").is(sequence_id)), AntenatalExaminationModel.class); | |
781 | + AntenatalExaminationModel antenatal = mongoTemplate.findById(usedId, AntenatalExaminationModel.class); | |
781 | 782 | if(antenatal != null) { |
782 | 783 | checkDate = antenatal.getCheckDate(); |
783 | 784 | username = findUserNameByPid(antenatal.getPid()); |