From 3f3f4ffefd53cf66d4567a74f916845350dbd9e4 Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期一, 03 十一月 2025 11:16:03 +0800
Subject: [PATCH] #1
---
src/main/java/com/zy/common/web/WcsController.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index 197356e..b81d26b 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -107,6 +107,20 @@
sourceStaNo.setLocType1(param.getLocType1());
LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo);
+ if (param.getBarcode().startsWith("4")){
+ locTypeDto.setLocType2((short) 4);
+ }else if (param.getBarcode().startsWith("5")){
+ locTypeDto.setLocType2((short) 5);
+ }else if (param.getBarcode().startsWith("6")){
+ locTypeDto.setLocType2((short) 6);
+ }else if (param.getBarcode().startsWith("7")){
+ locTypeDto.setLocType2((short) 7);
+ }else if (param.getBarcode().startsWith("8")){
+ locTypeDto.setLocType2((short) 8);
+ }else {
+ throw new CoolException("鏉$爜瑙勫垯涓嶅瓨鍦�");
+ }
+
StartupDto dto = null;
switch (param.getIoType()) {
case 1://婊℃墭鐩樺叆搴�
@@ -373,6 +387,7 @@
wrkDetl.setIoTime(wrkMast.getIoTime());
wrkDetl.setAppeTime(now);
wrkDetl.setModiTime(now);
+ wrkDetl.setModel(waitPakin.getModel());
if (!Cools.isEmpty(waitPakin.getOrderNo())) {
Order order = orderService.selectByNo(waitPakin.getOrderNo());
if (order != null) {
--
Gitblit v1.9.1