From 60e04974768c2c98b839a085cce2579caf0f3864 Mon Sep 17 00:00:00 2001
From: tqs <56479841@qq.com>
Date: 星期四, 16 三月 2023 11:15:23 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/WrkMastMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index c39dff6..6260939 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -166,7 +166,10 @@
<!-- 鍏ュ嚭搴撴ā寮忕浉鍏� -->
<select id="selectWorkingPakin" resultMap="BaseResultMap">
- select top 1 * from dbo.asr_wrk_mast where wrk_sts in (2,3,4) and io_type != 11 and source_sta_no = #{sourceStaNo} order by io_time,wrk_no
+ select top 1 * from dbo.asr_wrk_mast
+ where (wrk_sts in (2,3,4) or (wrk_sts=14 and io_type in (103,107)))
+ and io_type != 11 and source_sta_no = #{sourceStaNo}
+ order by io_time,wrk_no
</select>
<select id="selectWorkingPakout" resultMap="BaseResultMap">
--
Gitblit v1.9.1