Parcourir la source

特殊订单修改商品数量不受起订量和增量控制,但数量必须大于零。其他订单类型保持原逻辑不变。

eganwu il y a 1 an
Parent
commit
e41507221e

+ 1 - 1
src/custom/restcontroller/webmanage/sale/order/OrderItemsHelper.java

@@ -339,7 +339,7 @@ public class OrderItemsHelper extends BaseClass {
         BigDecimal qty = item.getBigDecimalValue("qty");
         String itemid = item.getString("itemid");
         if (!type.equals("促销订单")) {
-            if (!type.equals("促销订单")) {
+            if (!type.equals("特殊订单")) {
                 if (itemRowsMap.containsKey(itemid)) {
                     Rows itemRows = itemRowsMap.getOrDefault(itemid, new Rows());
                     if (itemRows.isNotEmpty()) {