From 1e585dfd636f811952a0d2b0fc3e735325cd5243 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期二, 27 六月 2023 15:36:10 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/WrkMastMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 1db0665..fd55f58 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -238,5 +238,16 @@
select * from dbo.asr_wrk_mast where 1=1 and wrk_sts in (16,17) and rgv_no=#{rgvNo} order by io_time,wrk_no
</select>
<!-- RGV璋冨害鍏ュ嚭搴撶浉鍏� -->
+ <!-- ==============================================RGV浠诲姟缁戝畾鐩稿叧 ============================================== -->
+
+ <select id="selectRgvInSteWrkNo" resultMap="BaseResultMap">
+ select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts =12 and wrk_no=#{wrkNo} and rgv_no is null
+ </select>
+
+ <select id="selectRgvOutSteWrkNo" resultMap="BaseResultMap">
+ select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts =24 and wrk_no=#{wrkNo} and rgv_no is null
+ </select>
+
+ <!-- ==============================================RGV浠诲姟缁戝畾鐩稿叧 ============================================== -->
</mapper>
--
Gitblit v1.9.1