Commit 4a13b233117955f6f456690a3d027a9650bdde65
1 parent
3b33003fea
Exists in
master
and in
6 other branches
优惠劵
Showing 1 changed file with 3 additions and 3 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java
View file @
4a13b23
... | ... | @@ -138,7 +138,7 @@ |
138 | 138 | } |
139 | 139 | else if (patients != null && patients.getType() == 1) |
140 | 140 | { |
141 | - start = DateUtil.getWeek(patients.getLastMenses(),new Date()); | |
141 | + start = DateUtil.getWeek2(patients.getLastMenses(), new Date()); | |
142 | 142 | } |
143 | 143 | } |
144 | 144 | else if (person.getType() == 2) |
145 | 145 | |
... | ... | @@ -197,9 +197,9 @@ |
197 | 197 | Integer showEnd = Integer.parseInt(map.get("show_end").toString()); |
198 | 198 | if ((showStart <= start && showEnd >= start) || showStart >= start) |
199 | 199 | { |
200 | - | |
200 | + list.add(map); | |
201 | 201 | } |
202 | - list.add(map); | |
202 | + | |
203 | 203 | } |
204 | 204 | } |
205 | 205 | } |