From 6f45f4a29ce38525f3f9e3931bcedfc77bde765e Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期六, 24 六月 2023 18:07:43 +0800
Subject: [PATCH] 出入库流程优化-入库详单优化

---
 igds-inout/src/main/java/com/ld/igds/inout/view/InoutDataPR.java |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/igds-inout/src/main/java/com/ld/igds/inout/view/InoutDataPR.java b/igds-inout/src/main/java/com/ld/igds/inout/view/InoutDataPR.java
index a2c0721..40bf192 100644
--- a/igds-inout/src/main/java/com/ld/igds/inout/view/InoutDataPR.java
+++ b/igds-inout/src/main/java/com/ld/igds/inout/view/InoutDataPR.java
@@ -73,14 +73,6 @@
     }
 
     /**
-     * 鍒犻櫎鏁版嵁 inoutDataPR#delInoutData
-     */
-    @DataResolver
-    public String delInoutData(InoutData data) throws Exception {
-        return inoutManager.delInoutData(data, false);
-    }
-
-    /**
      * inoutDataPR#errorInoutData 鍑哄叆搴撴暟鎹墽琛� 寮傚父缁堟
      *
      * @param data
@@ -88,6 +80,7 @@
      * @throws Exception
      */
     @DataResolver
+    @Transactional
     public String errorInoutData(InoutData data) throws Exception {
         return inoutManager.errorInoutData(data);
     }
@@ -119,9 +112,6 @@
         if (InoutConstant.RECORD_STATUS_DEL.equals(data.getRecordStatus())) {
             return "鍒犻櫎鐨勬暟鎹笉鏀寔鎵撳嵃锛�";
         }
-        if (InoutConstant.RECORD_STATUS_ERROR.equals(data.getRecordStatus())) {
-            return "寮傚父缁堟鐨勬暟鎹笉鏀寔鎵撳嵃锛�";
-        }
         if (!InoutConstant.PROGRESS_RECORD.equals(data.getProgress())) {
             return "鏈畬鎴愮殑鏁版嵁涓嶆敮鎸佹墦鍗帮紒";
         }
@@ -145,9 +135,6 @@
         if (InoutConstant.RECORD_STATUS_DEL.equals(data.getRecordStatus())) {
             return null;
         }
-        if (InoutConstant.RECORD_STATUS_ERROR.equals(data.getRecordStatus())) {
-            return null;
-        }
         if (!InoutConstant.PROGRESS_RECORD.equals(data.getProgress())) {
             return null;
         }
@@ -166,9 +153,6 @@
     public String printCheckBill(InoutData data) throws Exception {
         if (InoutConstant.RECORD_STATUS_DEL.equals(data.getRecordStatus())) {
             return "鍒犻櫎鐨勬暟鎹笉鏀寔鎵撳嵃锛�";
-        }
-        if (InoutConstant.RECORD_STATUS_ERROR.equals(data.getRecordStatus())) {
-            return "寮傚父缁堟鐨勬暟鎹笉鏀寔鎵撳嵃锛�";
         }
         return inoutReportManager.inCheckBill(data);
     }

--
Gitblit v1.9.3