|
|
|
@ -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()); |
|
|
|
|