mirror of https://github.com/jeecgboot/jeecg-boot
Fix : apply each matching quantity rules instead of the first only
parent
d942c52dd8
commit
ec4e7addf4
|
@ -193,7 +193,6 @@ public class AddGiftJob implements Job {
|
|||
for (GiftRule giftRule : matchingQuantityRules) {
|
||||
if (erpCode.matches(giftRule.getRegex())) {
|
||||
putValueInMapOrReduce(giftRule.getSku(), orderItem.getQuantity(), newGiftMap);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue