From a2ffd807b9834e59efe11db6042050d33b798539 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期四, 31 八月 2023 00:12:10 +0800
Subject: [PATCH] 优化调拨入库

---
 service-store/src/main/java/com/java110/store/cmd/resourceStore/AllocationStoreEnterCmd.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/service-store/src/main/java/com/java110/store/cmd/resourceStore/AllocationStoreEnterCmd.java b/service-store/src/main/java/com/java110/store/cmd/resourceStore/AllocationStoreEnterCmd.java
index 3b849aa..d84128f 100644
--- a/service-store/src/main/java/com/java110/store/cmd/resourceStore/AllocationStoreEnterCmd.java
+++ b/service-store/src/main/java/com/java110/store/cmd/resourceStore/AllocationStoreEnterCmd.java
@@ -69,7 +69,7 @@
                 = allocationStorehouseApplyInnerServiceSMOImpl.queryAllocationStorehouseApplys(allocationStorehouseApplyDto);
         Assert.listOnlyOne(allocationStorehouseDtos, "璋冩嫧鐢宠鍗曞瓨鍦ㄥ鏉�");
 
-        if (reqJson.containsKey("resourceStores")) {
+        if (!reqJson.containsKey("resourceStores")) {
             throw new CmdException("鏈寘鍚墿鍝�");
         }
         JSONArray resourceStores = reqJson.getJSONArray("resourceStores");

--
Gitblit v1.8.0