From da13bea76b64183790ab17775f04d43d8c7f6607 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 26 十二月 2025 14:36:44 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/web/WcsController.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index dd9fd5e..4103eea 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -95,14 +95,14 @@
         }
 
         // 绌烘墭鐩樻寜鐓ф墭鐩樼爜鍒嗛厤搴撲綅
-//        else if (param.getIoType() == 10) {
-//            if (Cools.isEmpty(param.getBarcode())) {
-//                return R.error("鏉$爜涓嶈兘涓虹┖");
-//            }
-//            if (!param.getBarcode().startsWith("6") && !param.getBarcode().startsWith("7") && !param.getBarcode().startsWith("8")){
-//                return R.error("涓嶅瓨鍦ㄧ殑鎵樼洏绫诲瀷");
-//            }
-//        }
+        else if (param.getIoType() == 10) {
+            if (Cools.isEmpty(param.getBarcode())) {
+                return R.error("鏉$爜涓嶈兘涓虹┖");
+            }
+            if (!param.getBarcode().startsWith("6") && !param.getBarcode().startsWith("7") && !param.getBarcode().startsWith("8")){
+                return R.error("涓嶅瓨鍦ㄧ殑鎵樼洏绫诲瀷");
+            }
+        }
 
 
         if (Cools.isEmpty(param.getLocType1())) {
@@ -445,8 +445,8 @@
         // 婧愮珯鐐圭姸鎬佹娴�
         BasDevp sourceStaNo = basDevpService.checkSiteStatus(devpNo, true);
         // 妫�绱㈠簱浣�
-        StartupDto dto = commonService.getLocNoEmpty(1, 10, devpNo, null, null, null, locTypeDto);
-//        StartupDto dto = commonService.getLocNoEmptyNew(1, 10, devpNo,locTypeDto,barcode);
+//        StartupDto dto = commonService.getLocNoEmpty(1, 10, devpNo, null, null, null, locTypeDto);
+        StartupDto dto = commonService.getLocNoEmptyNew(1, 10, devpNo,locTypeDto,barcode);
         int workNo = dto.getWorkNo();
         // 鐢熸垚宸ヤ綔妗�
         WrkMast wrkMast = new WrkMast();

--
Gitblit v1.9.1