From 54e371c10fdb3640b5ac5e4d5ea9ace537f27174 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 28 三月 2022 15:18:39 +0800 Subject: [PATCH] # --- src/main/resources/mapper/WrkMastMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml index 96c7603..55424bc 100644 --- a/src/main/resources/mapper/WrkMastMapper.xml +++ b/src/main/resources/mapper/WrkMastMapper.xml @@ -63,7 +63,7 @@ </resultMap> <select id="selectByLocNo" resultMap="BaseResultMap"> - select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} + select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} and (ctn_no is null or ctn_no != 'Y') </select> <select id="selectToBeCompleteData" resultMap="BaseResultMap"> @@ -148,4 +148,8 @@ select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts=2 and crn_no=#{crnNo} order by io_time,wrk_no </select> + <select id="selectPick" resultMap="BaseResultMap"> + select * from dbo.asr_wrk_mast where 1=1 and wrk_sts = 14 and io_type in (103,104,107) + </select> + </mapper> -- Gitblit v1.9.1