From f55ba9203e378212ca3be9710b85cb91f04e7ca7 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 15 三月 2023 16:21:44 +0800 Subject: [PATCH] # --- src/main/resources/mapper/WrkMastMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml index d078984..c39dff6 100644 --- a/src/main/resources/mapper/WrkMastMapper.xml +++ b/src/main/resources/mapper/WrkMastMapper.xml @@ -160,6 +160,10 @@ select * from dbo.asr_wrk_mast where crn_no=#{crnNo} and source_sta_no=#{sourceStaNo} and wrk_sts=11 and io_type>100 order by io_pri desc,io_time,wrk_no asc </select> + <select id="selectPakOutStep14" resultMap="BaseResultMap"> + select top 1 * from dbo.asr_wrk_mast where crn_no=#{crnNo} and source_sta_no=#{sourceStaNo} and wrk_sts=14 and io_type>100 order by io_pri desc,io_time,wrk_no asc + </select> + <!-- 鍏ュ嚭搴撴ā寮忕浉鍏� --> <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 -- Gitblit v1.9.1