|
|
@ -217,6 +217,7 @@ public class HighDiscountAgentRelController { |
|
|
|
for (Long i = minNumber; i <= maxNumber; i++) { |
|
|
|
for (Long i = minNumber; i <= maxNumber; i++) { |
|
|
|
HighDiscountAgentCode highDiscountAgentCode = highDiscountAgentCodeService.getCodeById(i); |
|
|
|
HighDiscountAgentCode highDiscountAgentCode = highDiscountAgentCodeService.getCodeById(i); |
|
|
|
if (highDiscountAgentCode.getStatus() == 1 || highDiscountAgentCode.getStatus() == 4 ) { |
|
|
|
if (highDiscountAgentCode.getStatus() == 1 || highDiscountAgentCode.getStatus() == 4 ) { |
|
|
|
|
|
|
|
|
|
|
|
highDiscountAgentCode.setStatus(status); |
|
|
|
highDiscountAgentCode.setStatus(status); |
|
|
|
highDiscountAgentCodeService.updateCode(highDiscountAgentCode); |
|
|
|
highDiscountAgentCodeService.updateCode(highDiscountAgentCode); |
|
|
|
} |
|
|
|
} |
|
|
|