mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-01-30 19:17:54 +08:00
Merge branch 'company_server' of https://gitee.com/doc_wei01/skyeye into company_server
This commit is contained in:
commit
1a32fd5a3f
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ public class CouponUseServiceImpl extends SkyeyeBusinessServiceImpl<CouponUseDao
|
|||
List<CouponUse> list = list(queryWrapper);
|
||||
couponService.setDataMation(list, CouponUse::getCouponId);
|
||||
List<CouponUse> collect = list.stream().map(item -> {
|
||||
item.setUsageCount(item.getUsedCount());
|
||||
item.setUsageCount(item.getCouponMation().getUseCount());
|
||||
return item;
|
||||
}).collect(Collectors.toList());
|
||||
return JSONUtil.toList(JSONUtil.toJsonStr(collect), null);
|
||||
|
|
Loading…
Reference in a new issue