From 585023c7abdd062c51ecf33b6b2119f3a4fbf993 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期一, 12 一月 2026 08:16:08 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index 7b7c41d..a4a65d0 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -134,18 +134,18 @@
         if (Cools.isEmpty(param.getCargoHeight())) {
             return Re.error("楂樹綆妫�娴嬩俊鍙蜂笉鑳戒负绌�");
         }
-        if (!param.getBarCode().startsWith("7")&&!param.getBarCode().startsWith("8")){
-            return Re.error("鏈畾涔夌殑鎵樼洏鐮佽鍒�");
-        }
+//        if (!param.getBarCode().startsWith("7")&&!param.getBarCode().startsWith("8")){
+//            return Re.error("鏈畾涔夌殑鎵樼洏鐮佽鍒�");
+//        }
 
         // 婧愮珯鐐圭姸鎬佹娴�
         BasDevp sourceStaNo = basDevpService.checkSiteStatus(Integer.valueOf(param.getFromPort()), true);
         sourceStaNo.setLocType1(param.getCargoHeight().shortValue()); // 楂樹綆搴撲綅
-        if (param.getBarCode().startsWith("7")){
-            sourceStaNo.setLocType2((short) 1); // 瀹界獎搴撲綅 1.绐勫簱浣�1200*1000*990  1鏈熷簱浣�
-        }else if (param.getBarCode().startsWith("8")){
-            sourceStaNo.setLocType2((short) 2); // 瀹界獎搴撲綅 2.瀹藉簱浣�1200*1000*1270  2鏈熷簱浣�
-        }
+//        if (param.getBarCode().startsWith("7")){
+//            sourceStaNo.setLocType2((short) 1); // 瀹界獎搴撲綅 1.绐勫簱浣�1200*1000*990
+//        }else if (param.getBarCode().startsWith("8")){
+//            sourceStaNo.setLocType2((short) 2); // 瀹界獎搴撲綅 2.瀹藉簱浣�1200*1000*1270
+//        }
         LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo);
 
         StartupDto dto = null;

--
Gitblit v1.9.1