'提交代码'

dev-discount
199901012 4 years ago
parent ea1850a0a2
commit 82e27c0062
  1. 2
      hai-service/src/main/java/com/hai/service/impl/HighCouponAgentServiceImpl.java

@ -62,7 +62,7 @@ public class HighCouponAgentServiceImpl implements HighCouponAgentService {
highCouponAgentRelMapper.insert(highCouponAgentRel);
List<HighCouponCode> assignCouponCodeList = codeList.stream().limit(highCouponAgentRel.getStatus()).collect(Collectors.toList());
List<HighCouponCode> assignCouponCodeList = codeList.stream().limit(highCouponAgentRel.getStockCount()).collect(Collectors.toList());
HighCouponAgentCode highCouponAgentCode;
for (HighCouponCode code : assignCouponCodeList) {
code.setAgentId(highCouponAgentRel.getAgentId());

Loading…
Cancel
Save