Commit 3d47a0e92a593bd84e4ec83a55674eac846dc670

Authored by liquanyu
1 parent 68da84746b

优惠券统计

Showing 1 changed file with 1 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java View file @ 3d47a0e
... ... @@ -5472,6 +5472,7 @@
5472 5472 AntExChuQuery antExChuQuery = new AntExChuQuery();
5473 5473 antExChuQuery.setYn(YnEnums.YES.getId());
5474 5474 antExChuQuery.setPid(patientsModel.getPid());
  5475 + antExChuQuery.setStart(patientsModel.getLastMenses());
5475 5476 List<AntExChuModel> antExChuModels = iAntExChuDao.query(antExChuQuery.convertToQuery().addOrder(Sort.Direction.DESC,"created"));
5476 5477 if(CollectionUtils.isNotEmpty(antExChuModels)){
5477 5478 firstVisitHospital = couponMapper.findHospitalNameById(antExChuModels.get(0).getHospitalId());