From 534c10d070b5396d22dad2778d159899c36cfa3c Mon Sep 17 00:00:00 2001 From: L <L@123> Date: 星期二, 15 七月 2025 11:50:03 +0800 Subject: [PATCH] * --- src/main/java/com/zy/asrs/task/WrkMastStaInIt2Scheduler.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/WrkMastStaInIt2Scheduler.java b/src/main/java/com/zy/asrs/task/WrkMastStaInIt2Scheduler.java index 0d28065..e0b4f21 100644 --- a/src/main/java/com/zy/asrs/task/WrkMastStaInIt2Scheduler.java +++ b/src/main/java/com/zy/asrs/task/WrkMastStaInIt2Scheduler.java @@ -64,7 +64,7 @@ }}; - @Scheduled(cron = "0/3 * * * * ? ") + @Scheduled(cron = "0/1 * * * * ? ") private void execute(){ for(Integer staNo : STA_WORK_CU){ try{ @@ -139,7 +139,7 @@ } } - @Scheduled(cron = "0/3 * * * * ? ") + @Scheduled(cron = "0/1 * * * * ? ") private void execute2(){ try{ for(Integer staNo : STA_WORK_CU){ @@ -173,7 +173,7 @@ } if (basDevpEnd.getWrkNo()!=0 || basDevpEnd.getLoading().equals("Y") || basDevpEnd.getReportSign()!=0){ if (basDevpEnd.getWrkNo()!=0 && basDevpEnd.getLoading().equals("Y") && basDevpEnd.getReportSign()!=0){ - WrkMast wrkMastEnd = wrkMastService.selectOne(new EntityWrapper<WrkMast>().eq("wrk_no", basDevp.getWrkNo())); + WrkMast wrkMastEnd = wrkMastService.selectOne(new EntityWrapper<WrkMast>().eq("wrk_no", basDevpEnd.getWrkNo())); if (Cools.isEmpty(wrkMastEnd) || wrkMastEnd.getIoType()!=101 || Cools.isEmpty(wrkMastEnd.getSheetNo()) || wrkMastEnd.getSheetNo().equals("0")){ continue; } @@ -197,7 +197,7 @@ List<WrkDetl> wrkDetlsQQ = wrkDetlService.selectByWrkNo(wrkMastEndQQ.getWrkNo()); for (WrkDetl wrkDetlQQ: wrkDetlsQQ){ String originQQ = wrkDetlQQ.getOrigin(); - if (originQQ.equals("1")){ + if (originQQ.equals("2")){ signQQ = true; break; } @@ -235,7 +235,7 @@ List<WrkDetl> wrkDetlsQQ = wrkDetlService.selectByWrkNo(wrkMastEndQQ.getWrkNo()); for (WrkDetl wrkDetlQQ: wrkDetlsQQ){ String originQQ = wrkDetlQQ.getOrigin(); - if (originQQ.equals("2")){ + if (originQQ.equals("1")){ signQQ = true; break; } -- Gitblit v1.9.1