Commit 05c064c85e6a38b8b2c85659784ae58254064332
1 parent
1f81266c40
Exists in
master
and in
6 other branches
改bug
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
05c064c
... | ... | @@ -907,7 +907,7 @@ |
907 | 907 | List<String> sendUserIds = (List<String>) map.get("sendUserIds"); |
908 | 908 | if(CollectionUtils.isNotEmpty(sendUserIds)) { |
909 | 909 | int addSendcount = couponMapper.findMulitPatientCount(sendUserIds); /** 查询需要添加人数的总数, 例如A发了两次优惠券 那么这里返回需要加的值为1 */ |
910 | - map.put("coupon_send_count", ((Long) map.get("coupon_send_count")) + addSendcount); | |
910 | + map.put("people_send_count", ((Long) map.get("people_send_count")) + addSendcount); | |
911 | 911 | for (int i = 0; i < addSendcount; i++) { |
912 | 912 | sendUserIds.add(UUID.randomUUID().toString()); |
913 | 913 | } |
... | ... | @@ -916,7 +916,7 @@ |
916 | 916 | List<String> usedUserIds = (List<String>) map.get("usedUserIds"); |
917 | 917 | if(CollectionUtils.isNotEmpty(usedUserIds)) { |
918 | 918 | int addUsedcount = couponMapper.findMulitPatientCount(usedUserIds); /** 查询需要添加人数的总数, 例如A发了两次优惠券 那么这里返回需要加的值为1 */ |
919 | - map.put("coupon_used_count", (((Long) map.get("coupon_used_count")) + addUsedcount) ); | |
919 | + map.put("user_used_count", (((Long) map.get("user_used_count")) + addUsedcount) ); | |
920 | 920 | for (int i = 0; i < addUsedcount; i++) { |
921 | 921 | usedUserIds.add(UUID.randomUUID().toString()); |
922 | 922 | } |