Commit 6f4191c7ed2719509e18efefc310ee4e56b43bc0
1 parent
23bd89ff6d
Exists in
master
and in
6 other branches
建档优惠券统计-多档案问题
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
6f4191c
... | ... | @@ -5471,7 +5471,7 @@ |
5471 | 5471 | String firstVisitHospital=""; |
5472 | 5472 | AntExChuQuery antExChuQuery = new AntExChuQuery(); |
5473 | 5473 | antExChuQuery.setYn(YnEnums.YES.getId()); |
5474 | - antExChuQuery.setParentId(patientsModel.getId()); | |
5474 | + antExChuQuery.setPid(patientsModel.getPid()); | |
5475 | 5475 | List<AntExChuModel> antExChuModels = iAntExChuDao.query(antExChuQuery.convertToQuery().addOrder(Sort.Direction.DESC,"created")); |
5476 | 5476 | if(CollectionUtils.isNotEmpty(antExChuModels)){ |
5477 | 5477 | firstVisitHospital = couponMapper.findHospitalNameById(antExChuModels.get(0).getHospitalId()); |