From 3fbdd17668bc5b22b49d094195995214d9478c17 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 03 二月 2023 17:02:47 +0800
Subject: [PATCH] modify purchase

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

diff --git a/service-store/src/main/java/com/java110/store/cmd/resourceStore/DeleteAllocationStorehouseCmd.java b/service-store/src/main/java/com/java110/store/cmd/resourceStore/DeleteAllocationStorehouseCmd.java
index 20fb8d3..efbbed8 100644
--- a/service-store/src/main/java/com/java110/store/cmd/resourceStore/DeleteAllocationStorehouseCmd.java
+++ b/service-store/src/main/java/com/java110/store/cmd/resourceStore/DeleteAllocationStorehouseCmd.java
@@ -69,7 +69,7 @@
         if (!StringUtil.isEmpty(state) && state.equals("1200")) { //1200琛ㄧず璋冩嫧鐢宠鐘舵��
             deleteAllocationStorehouse(reqJson);
         } else {
-            ResponseEntity<String> responseEntity = ResultVo.createResponseEntity(ResultVo.CODE_BUSINESS_VERIFICATION, "鎮ㄧ殑璋冩嫧璁㈠崟宸茬粡鐘舵�佸凡鏀瑰彉锛屾棤娉曡繘琛屽彇娑堟搷浣滐紒锛�");
+            ResponseEntity<String> responseEntity = ResultVo.createResponseEntity(ResultVo.CODE_BUSINESS_VERIFICATION, "鎮ㄧ殑璋冩嫧璁㈠崟鐘舵�佸凡鏀瑰彉锛屾棤娉曡繘琛屽彇娑堟搷浣滐紒锛�");
             context.setResponseEntity(responseEntity);
             return;
         }
@@ -85,6 +85,7 @@
         int flag = 0;
         for (AllocationStorehouseDto tmpAllocationStorehouseDto : allocationStorehouseDtos) {
             AllocationStorehousePo allocationStorehousePo = BeanConvertUtil.covertBean(tmpAllocationStorehouseDto, AllocationStorehousePo.class);
+            allocationStorehousePo.setStatusCd("1");
             flag = allocationStorehouseV1InnerServiceSMOImpl.deleteAllocationStorehouse(allocationStorehousePo);
 
             if (flag < 1) {
@@ -135,6 +136,7 @@
         AllocationStorehouseApplyPo allocationStorehouseApplyPo = new AllocationStorehouseApplyPo();
         allocationStorehouseApplyPo.setApplyId(allocationStorehouseDto.getApplyId());
         allocationStorehouseApplyPo.setStoreId(allocationStorehouseDto.getStoreId());
+        allocationStorehouseApplyPo.setStatusCd("1");
         flag = allocationStorehouseApplyV1InnerServiceSMOImpl.updateAllocationStorehouseApply(allocationStorehouseApplyPo);
         if (flag < 1) {
             throw new CmdException("淇敼澶辫触");

--
Gitblit v1.8.0