From 075cd1a82dc00988ed67b08c3a03fab51bf450e2 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期六, 29 十一月 2025 18:10:48 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java | 32 ++------------------------------
1 files changed, 2 insertions(+), 30 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java b/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java
index 575ba5d..624875c 100644
--- a/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java
+++ b/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java
@@ -32,18 +32,6 @@
switch (basAgvMast.getIoType()){
case 0:
getAgvTaskAssignmentParam0(basAgvMast);
- indBind = "0";
- return;
- case 1:
- getAgvTaskAssignmentParam0(basAgvMast);
- indBind = "0";
- return;
- case 2:
- getAgvTaskAssignmentParam1(basAgvMast);
- indBind = "1";
- return;
- case 3:
- getAgvTaskAssignmentParam1(basAgvMast);
indBind = "1";
return;
default:
@@ -58,25 +46,9 @@
BasAgvLocNo basAgvLocNoSou = basAgvLocNoService.selectOne(
new EntityWrapper<BasAgvLocNo>().eq("loc_no", basAgvMast.getSourceLocNo())
);
- this.positionCode = basAgvLocNoSou != null ? basAgvLocNoSou.getAgvLocNo() : "";
- BasAgvLocNo basAgvLocNoEnd = basAgvLocNoService.selectOne(
- new EntityWrapper<BasAgvLocNo>().eq("sta_no", basAgvMast.getStaNo())
- );
- this.stgBinCode = basAgvLocNoEnd != null ? basAgvLocNoEnd.getAgvLocNo() : "";
+
+ this.stgBinCode = basAgvLocNoSou != null ? basAgvLocNoSou.getAgvLocNo() : "";
}
- public void getAgvTaskAssignmentParam1(BasAgvMast basAgvMast) {
- BasAgvLocNoService basAgvLocNoService = SpringUtils.getBean(BasAgvLocNoService.class);
- this.reqCode = basAgvMast.getTaskNo() + "-" + System.currentTimeMillis();
-// BasAgvLocNo basAgvLocNoSou = basAgvLocNoService.selectOne(
-// new EntityWrapper<BasAgvLocNo>().eq("loc_no", basAgvMast.getLocNo())
-// );
-// this.positionCode = basAgvLocNoSou != null ? basAgvLocNoSou.getAgvLocNo() : "";
- BasAgvLocNo basAgvLocNoEnd = basAgvLocNoService.selectOne(
- new EntityWrapper<BasAgvLocNo>().eq("sta_no", basAgvMast.getSourceStaNo())
- );
- this.stgBinCode = basAgvLocNoEnd != null ? basAgvLocNoEnd.getAgvLocNo() : "";
-
- }
}
--
Gitblit v1.9.1