mirror of https://github.com/jeecgboot/jeecg-boot
commit
a3ec072954
|
@ -178,7 +178,7 @@ public class AddGiftJob implements Job {
|
|||
.collect(groupingBy(orderItem -> giftSkuSet.contains(orderItem.getErpCode())));
|
||||
for (OrderItem orderItem : orderItemMap.get(Boolean.FALSE)) {
|
||||
String erpCode = orderItem.getErpCode();
|
||||
if (!nonMatchingRulesApplied) {
|
||||
if (!nonMatchingRulesApplied && nonMatchingQuantityRules != null) {
|
||||
for (GiftRule giftRule : nonMatchingQuantityRules) {
|
||||
if (erpCode.matches(giftRule.getRegex())) {
|
||||
nonMatchingRulesApplied = true;
|
||||
|
|
|
@ -8,7 +8,7 @@ ${AnsiColor.BRIGHT_BLUE}
|
|||
|
||||
|
||||
${AnsiColor.BRIGHT_GREEN}
|
||||
WIA APP Version: 2.9.1
|
||||
WIA APP Version: 2.9.3
|
||||
Spring Boot Version: ${spring-boot.version}${spring-boot.formatted-version}
|
||||
Website: www.wia-sourcing.com
|
||||
${AnsiColor.BLACK}
|
||||
|
|
Loading…
Reference in New Issue