Junjie
2023-05-10 893d7c04b9b35b77f7440f7d4a32fa7466fd17f9
src/main/resources/mapper/WrkMastMapper.xml
@@ -251,17 +251,20 @@
        where wrk_no=#{workNo}
    </select>
    <select id="selectLiftStep62327" resultMap="BaseResultMap">
    <select id="selectLiftStep262327" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast
        where wrk_sts in (6,23,27)
        and shuttle_no is not null
        where 1=1
        and (wrk_sts in (6,23,27)
            and shuttle_no is not null)
        or (wrk_sts in (2)
            and shuttle_no is null)
        order by io_pri desc,wrk_sts desc
    </select>
    <select id="selectByWorkNo72428" resultMap="BaseResultMap">
    <select id="selectByWorkNo372428" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast
        where wrk_no=#{workNo}
        and wrk_sts in (7,24,28)
        and wrk_sts in (3,7,24,28)
    </select>
    <select id="selectBy2125" resultMap="BaseResultMap">