From b187814d7cfa5ace1ed9c203372524c69fe56553 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期三, 31 十二月 2025 08:11:44 +0800
Subject: [PATCH] 1.完善AGV任务任务下发 2.拣料回库数据更新维护
---
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
index d19ab06..59f9de5 100644
--- a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -22,6 +22,8 @@
import com.zy.common.model.enums.WorkNoType;
import com.zy.common.service.CommonService;
import com.zy.common.utils.HttpHandler;
+import com.zy.system.entity.Config;
+import com.zy.system.service.impl.ConfigServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -114,6 +116,8 @@
private BasStationService basStationService;
@Autowired
private BasContainerService basContainerService;
+ @Autowired
+ private ConfigServiceImpl configService;
@Override
@Transactional
@@ -741,11 +745,11 @@
Date date = new Date();
String s = "";
if (param.getBarcode().charAt(0) == '3'){
- s = "Z-307";
+ s = "307";
}else if (param.getBarcode().charAt(0) == '4'){
- s = "Z-402";
+ s = "402";
}else if (param.getBarcode().charAt(0) == '5'){
- s = "Z-401";
+ s = "401";
}
String TaskNo = param.getBarcode()+"aa"+date.getTime();
task.setWrkNo((int) date.getTime())
@@ -1334,12 +1338,12 @@
//婊戝潡搴�
if(locMast.getLocType3()==1){
if(locMast.getLocType2()==1){
- sta = "Z-402";
+ sta = "402";
}else if(locMast.getLocType2()==2){
- sta = "Z-401";
+ sta = "401";
}
}else if(locMast.getLocType3()==2){
- sta="Z-307";
+ sta="307";
}
// 鑾峰彇璺緞
--
Gitblit v1.9.1