Commit eda96054608b9e4d99c88d362b1b61713108f257
1 parent
e7f5ac1810
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/NewbornServiceImpl.java
View file @
eda9605
... | ... | @@ -67,6 +67,9 @@ |
67 | 67 | private CouponService couponService; |
68 | 68 | |
69 | 69 | @Autowired |
70 | + private CouponMapper couponMapper; | |
71 | + | |
72 | + @Autowired | |
70 | 73 | private OrganizationGroupsFacade organizationGroupsFacade; |
71 | 74 | |
72 | 75 | @Override |
... | ... | @@ -324,7 +327,8 @@ |
324 | 327 | restMap.put("unclosedSize", newbornVisit.getUnclosedSize() + "cm X " + newbornVisit.getUnclosedSize2()); |
325 | 328 | } |
326 | 329 | |
327 | - restMap.put("couponCode", newbornVisit.getCouponCode() == null ? "" : newbornVisit.getCouponCode()); | |
330 | + String couponCode = couponMapper.findByUsedId(id); | |
331 | + restMap.put("couponCode", couponCode == null ? "" : couponCode); | |
328 | 332 | |
329 | 333 | /** 访视信息 */ |
330 | 334 | restMap.put("checkTimeDesc", newbornVisit.getCheckTimeDesc() == null ? "" : newbornVisit.getCheckTimeDesc()); /** 产后天数 */ |