Commit 6f4191c7ed2719509e18efefc310ee4e56b43bc0

Authored by shiyang
1 parent 23bd89ff6d

建档优惠券统计-多档案问题

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());