|
|
@ -62,7 +62,7 @@ public class HighCouponAgentServiceImpl implements HighCouponAgentService { |
|
|
|
|
|
|
|
|
|
|
|
highCouponAgentRelMapper.insert(highCouponAgentRel); |
|
|
|
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; |
|
|
|
HighCouponAgentCode highCouponAgentCode; |
|
|
|
for (HighCouponCode code : assignCouponCodeList) { |
|
|
|
for (HighCouponCode code : assignCouponCodeList) { |
|
|
|
code.setAgentId(highCouponAgentRel.getAgentId()); |
|
|
|
code.setAgentId(highCouponAgentRel.getAgentId()); |
|
|
|