From 612e6bee005ddbee73922c499c8e1a8aa755c5f2 Mon Sep 17 00:00:00 2001
From: L <L@123>
Date: 星期日, 13 七月 2025 10:20:37 +0800
Subject: [PATCH] *
---
src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java b/src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java
index 7ab6d4e..4dfbb4a 100644
--- a/src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java
+++ b/src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java
@@ -45,7 +45,7 @@
}};
public static final List<Integer> STA_WORK_CU_CAR = new ArrayList<Integer>() {{
- add(118);add(119);add(120);add(121);
+ add(118);add(120);add(121);
}};
public static final List<Integer> STA_WORK_CU_CAR_TWO = new ArrayList<Integer>() {{
@@ -55,15 +55,15 @@
add(118);add(120);
}};
public static final List<Integer> STA_WORK_CU_CAR_FOUR = new ArrayList<Integer>() {{
- add(119);add(121);
+ add(121);
}};
public static final List<Integer> STA_WORK_RU = new ArrayList<Integer>() {{
- add(118);add(119);add(120);add(121);add(122);add(123);
+ add(118);add(120);add(121);add(122);add(123);add(171);
}};
- @Scheduled(cron = "0/3 * * * * ? ")
+// @Scheduled(cron = "0/3 * * * * ? ")
private void execute(){
for(Integer staNo : STA_WORK_CU){
try{
@@ -143,7 +143,7 @@
}
}
- @Scheduled(cron = "0/3 * * * * ? ")
+// @Scheduled(cron = "0/3 * * * * ? ")
private void execute2(){
try{
for(Integer staNo : STA_WORK_CU){
@@ -253,6 +253,7 @@
}
String origin = null;
boolean sign = false;
+ boolean sign101 = false;
if (wrkMast.getIoType()!=101){
List<WrkDetl> wrkDetls = wrkDetlService.selectByWrkNo(wrkMast.getWrkNo());
if (!Cools.isEmpty(wrkDetls) && !wrkDetls.isEmpty()){
@@ -270,6 +271,8 @@
log.error("鏈煡璇㈠埌宸ヤ綔鏄庣粏");
continue;
}
+ }else {
+ sign101 = true;
}
int count = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("sta_start", wrkMastStaNo).or().eq("sta_end", wrkMastStaNo));
if (count!=0){
@@ -297,7 +300,7 @@
for (Integer staNoOther : STA_WORK_CU_CAR_NOW) {
if (staNoOther.equals(wrkMastStaNo)) continue;
- if (sign){
+ if (sign && !sign101){
if (Cools.isEmpty(origin)){
continue;
}
--
Gitblit v1.9.1