From 480644e9b989821d9a039c654acb11cda19b5ccd Mon Sep 17 00:00:00 2001 From: mrzhssss <pro6@qq.com> Date: 星期二, 20 九月 2022 16:55:19 +0800 Subject: [PATCH] # --- src/main/resources/mapper/WrkMastMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml index 54bace6..2bda822 100644 --- a/src/main/resources/mapper/WrkMastMapper.xml +++ b/src/main/resources/mapper/WrkMastMapper.xml @@ -179,4 +179,7 @@ and source_sta_no = #{sourceStaNo} order by io_time,wrk_no </select> + <select id="selectPakoutEmpty" resultMap="BaseResultMap"> + select top 1 * from dbo.asr_wrk_mast where wrk_sts in (11,12,13,14) and io_type != 11 and sta_no = #{staNo} order by io_time,wrk_no + </select> </mapper> -- Gitblit v1.9.1