From 08e27b1c08d1649484d787dab6fedd6417400d5f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 09 十一月 2022 15:44:11 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
index 88c59d7..84381c6 100644
--- a/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -215,9 +215,9 @@
                 ioType = dto.isAll() ? 101 : 103;
             } else if (ioWorkType.equals(IoWorkType.CHECK_OUT)) {
                 ioType = 107;
-                if (wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("io_type", 107)) > 0) {
-                    throw new CoolException("鍙兘瀛樺湪涓�绗旂洏鐐逛换鍔�");
-                }
+                // if (wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("io_type", 107)) > 0) {
+                //     throw new CoolException("鍙兘瀛樺湪涓�绗旂洏鐐逛换鍔�");
+                // }
             }
             assert ioType != null;
             // 鑾峰彇搴撲綅
@@ -284,7 +284,7 @@
             } else {
                 throw new CoolException(dto.getLocNo() + "搴撲綅涓嶆槸鍦ㄥ簱鐘舵��");
             }
-            locMastService.breakUp(dto.getLocNo(), excludeLocNos);
+//            locMastService.breakUp(dto.getLocNo(), excludeLocNos);
         }
     }
 
@@ -588,9 +588,9 @@
     @Override
     @Transactional
     public void locCheckOut(StockOutParam param, Long userId) {
-        if (wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("io_type", 107)) > 0) {
-            throw new CoolException("鍙兘瀛樺湪涓�绗旂洏鐐逛换鍔�");
-        }
+        // if (wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("io_type", 107)) > 0) {
+        //     throw new CoolException("鍙兘瀛樺湪涓�绗旂洏鐐逛换鍔�");
+        // }
         // 鐩爣绔欑偣鐘舵�佹娴�
         BasDevp staNo = basDevpService.checkSiteStatus(param.getOutSite());
         // 鑾峰彇搴撲綅鏄庣粏

--
Gitblit v1.9.1