Browse Source

daoku orderType=25

liyg 2 years ago
parent
commit
7e47a5f5dd

+ 5 - 0
src/main/java/com/steerinfo/dil/service/impl/OmstruckOrderServiceImpl.java

@@ -1561,6 +1561,11 @@ public class OmstruckOrderServiceImpl implements IOmstruckOrderService {
             orderType = BigDecimal.valueOf(21);
             orderType = BigDecimal.valueOf(21);
             mapValue.put("orderType", orderType);
             mapValue.put("orderType", orderType);
         }
         }
+        if (inwardType.equals("倒库")) {
+            mapValue.remove(orderType);
+            orderType = BigDecimal.valueOf(25);
+            mapValue.put("orderType", orderType);
+        }
         Integer carrierId = (Integer) mapValue.get("carrierId");
         Integer carrierId = (Integer) mapValue.get("carrierId");
         AmstruckInwardPlan amstruckInwardPlan = amstruckInwardPlanMapper.selectByPrimaryKey(planId);
         AmstruckInwardPlan amstruckInwardPlan = amstruckInwardPlanMapper.selectByPrimaryKey(planId);
         amstruckInwardPlan.setPlanStatus(new BigDecimal(3));
         amstruckInwardPlan.setPlanStatus(new BigDecimal(3));