From a516fec01d3af6fbd55fb8ec1177ff55f5b0f156 Mon Sep 17 00:00:00 2001
From: ytfl <ytfl@qq.com>
Date: 星期二, 14 十月 2025 15:33:43 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/asrs/WrkMastMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/asrs/WrkMastMapper.xml b/src/main/resources/mapper/asrs/WrkMastMapper.xml
index c866c7f..b99fd2d 100644
--- a/src/main/resources/mapper/asrs/WrkMastMapper.xml
+++ b/src/main/resources/mapper/asrs/WrkMastMapper.xml
@@ -69,7 +69,7 @@
<select id="selectToBeHistoryData" resultMap="BaseResultMap">
select * from asr_wrk_mast
where wrk_sts=5
- or (wrk_sts=15 and dateadd(mi,10,crn_end_time) <= getdate() and ove_mk='Y' and wrk_no not in (select wrk_no from asr_bas_devp))
+ or (wrk_sts=15 and ove_mk='Y' and wrk_no not in (select wrk_no from asr_bas_devp))
or (wrk_sts=15 and dateadd(mi,15,crn_end_time) <= getdate() and wrk_no not in (select wrk_no from asr_bas_devp))
or (wrk_sts=15 and crn_end_time is null and wrk_no not in (select wrk_no from asr_bas_devp))
order by io_time,wrk_no asc
--
Gitblit v1.9.1