From dca272efbaf315859decfcd339b39f9f647fffad Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 27 三月 2023 10:17:21 +0800 Subject: [PATCH] # --- src/main/resources/mapper/WrkMastMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml index 70dd04c..ad96104 100644 --- a/src/main/resources/mapper/WrkMastMapper.xml +++ b/src/main/resources/mapper/WrkMastMapper.xml @@ -100,4 +100,9 @@ select top 1 * from asr_wrk_mast where wrk_no=#{wrkNo} and wrk_sts=17 and io_type = #{ioType} </select> + <select id="selectSameMatnrs" resultMap="BaseResultMap"> + select loc_no from asr_wrk_mast m,asr_wrk_detl d + where m.wrk_no=d.wrk_no and io_type=1 and wrk_sts < 11 and d.matnr = #{matnr} ORDER BY m.wrk_no desc + </select> + </mapper> -- Gitblit v1.9.1