*
lsh
2025-10-28 e5965ceb425d4cf76a25f136bcf506d4b1dad76c
src/main/resources/mapper/WrkMastStaMapper.xml
@@ -103,6 +103,26 @@
        and wrk_no = #{workNo}
        order by line_number,id
    </select>
    <select id="selectNoInterfereCrn" resultMap="BaseResultMap">
        select * from asr_wrk_mast_sta
        where 1=1
        and (sta_start in
        <foreach item="item" collection="staStarts" index="index" separator="," open="(" close=")">
            #{item}
        </foreach>
        or sta_start = 0
        )
        and (sta_end in
        <foreach item="item" collection="staEnds" index="index" separator="," open="(" close=")">
            #{item}
        </foreach>
        or sta_end = 0
        )
        and wrk_sts=0
        and sta_end in (1018,2018)
        and wrk_no = #{workNo}
        order by line_number,id
    </select>
    <select id="selectNoInterfereToCrn" resultMap="BaseResultMap">
        select * from asr_wrk_mast_sta
@@ -167,6 +187,12 @@
        and sta_start = #{staStart}
    </select>
    <select id="selectPakingWrkNum" resultMap="BaseResultMap">
        select * from asr_wrk_mast_sta
        where mk = 1
        and rgv_no = #{rgvNo}
    </select>
</mapper>