#
TQS
2023-04-20 f1b654fc854bd0a88ef7ee9815f8cfaf33e30007
src/main/resources/mapper/WrkMastMapper.xml
@@ -136,6 +136,12 @@
        select top 1 * from dbo.asr_wrk_mast where 1=1 and (wrk_sts=7 or wrk_sts=16) and crn_no=#{crnNo} order by io_time,wrk_no
    </select>
    <select id="selectWorking1" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast
        where 1=1 and wrk_no!=#{wrkNo} and ((wrk_sts>11 and wrk_sts &lt; 17) or (wrk_sts=11 and ste_no is not null and ste_no>0)) and crn_no=#{crnNo}
        order by io_time,wrk_no
    </select>
    <select id="selectPakin" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast
        where 1=1