From 745b115acbb46829eb52f904f0c276012decf938 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期二, 20 八月 2024 10:53:35 +0800
Subject: [PATCH] order manage

---
 pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/order/OrderCtrl.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/order/OrderCtrl.java b/pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/order/OrderCtrl.java
index aebb135..ef2a603 100644
--- a/pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/order/OrderCtrl.java
+++ b/pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/order/OrderCtrl.java
@@ -7,7 +7,7 @@
 import com.dy.pmsGlobal.aop.Log;
 import com.dy.pmsGlobal.pojoPr.PrAssemblyPlan;
 import com.dy.pmsGlobal.pojoPr.PrOrder;
-import com.dy.pmsProduct.taskPlan.QueryVo;
+import com.dy.pmsProduct.order.QueryVo;
 import jakarta.validation.Valid;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -31,8 +31,6 @@
     @SsoPowerAop(power = "10200001")
     @Log("淇濆瓨璁㈠崟淇℃伅")
     public BaseResponse<Boolean> save(@RequestBody @Valid PrOrder order){
-        order.id = null;
-        order.setDeleted(false);
         int count = sv.save(order);
         if (count <= 0) {
             return BaseResponseUtils.buildFail("鏁版嵁搴撳瓨鍌ㄥけ璐�");
@@ -104,7 +102,7 @@
     @SsoPowerAop(power = "10200001")
     @Log("鏇存柊浠诲姟璁″垝鐘舵��")
     public BaseResponse<Boolean> updateStatus(@RequestBody PrAssemblyPlan plan){
-        int count = sv.updateStatus(plan);
+        int count = 0;//sv.updateStatus(plan);
         if (count <= 0) {
             return BaseResponseUtils.buildFail("鏁版嵁搴撳瓨鍌ㄥけ璐�");
         } else {

--
Gitblit v1.8.0