#
tqs
2023-02-03 6779a9d49d15b109f3ed4246b41dd8eae98a2350
src/main/resources/mapper/WrkMastMapper.xml
@@ -201,7 +201,18 @@
    </select>
    <select id="selectWrkStsAndIoType0" resultMap="BaseResultMap">
        select * from dbo.asr_wrk_mast where 1=1 and wrk_sts>11 and io_type!=11
--         and (io_type=103 or io_type=107)
        and (io_type=103 or io_type=107)
        <if test="sour > 200">
            and source_sta_no > 200
        </if>
        <if test="sour &lt; 200">
            and source_sta_no &lt; 200
        </if>
    </select>
    <select id="selectWrkStsAndIoType1" resultMap="BaseResultMap">
        select * from dbo.asr_wrk_mast where 1=1 and wrk_sts>11 and io_type=101
        <if test="sour > 200">
            and source_sta_no > 200
        </if>