Commit 6fdad0608848ca351f987d75d15d4e8ba6bfdf9f

Authored by liquanyu
1 parent 7349fcedf6

update code

Showing 1 changed file with 5 additions and 5 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java View file @ 6fdad06
... ... @@ -2780,7 +2780,7 @@
2780 2780 public void handleQhdCoupon(@RequestParam(required = true) String hid,@RequestParam(required = false) String patientId) {
2781 2781 AntExChuQuery antExChuQuery = new AntExChuQuery();
2782 2782 antExChuQuery.setEnd(new Date());
2783   - antExChuQuery.setStart(DateUtil.addMonth(new Date(),-2));
  2783 + antExChuQuery.setStart(DateUtil.addMonth(new Date(), -5));
2784 2784 antExChuQuery.setYn(YnEnums.YES.getId());
2785 2785 antExChuQuery.setHospitalId(hid);
2786 2786 List<AntExChuModel> chus = antenatalExaminationService.queryAntExChu(antExChuQuery);
... ... @@ -2794,8 +2794,8 @@
2794 2794 if (CollectionUtils.isNotEmpty(list)) {
2795 2795 for (CouponInfo couponInfo : list) {
2796 2796 Map<String, Object> param1 = new HashMap<>();
2797   - param.put("code", couponInfo.getSequenceId());
2798   - param.put("type", 2);
  2797 + param1.put("code", couponInfo.getSequenceId());
  2798 + param1.put("type", 2);
2799 2799 Map<String, Object> data = couponMapper.findValidateParam(param1);
2800 2800  
2801 2801 if (data == null)
... ... @@ -2834,8 +2834,8 @@
2834 2834 if (CollectionUtils.isNotEmpty(list)) {
2835 2835 for (CouponInfo couponInfo : list) {
2836 2836 Map<String, Object> param1 = new HashMap<>();
2837   - param.put("code", couponInfo.getSequenceId());
2838   - param.put("type", 2);
  2837 + param1.put("code", couponInfo.getSequenceId());
  2838 + param1.put("type", 2);
2839 2839 Map<String, Object> data = couponMapper.findValidateParam(param1);
2840 2840 if (data == null)
2841 2841 {