#
yxFwq
2025-05-10 3b604eb218a3b167144cc6e5d9c86cd95e16157c
src/main/resources/mapper/BasJarMastMapper.xml
@@ -67,6 +67,20 @@
        order by jar_loc_digit desc
    </select>
    <select id="getJarMastByJarIdAndStatusListCharge" resultMap="BaseResultMap">
        select * from asr_bas_jar_mast
        where 1=1
        and
        (
        status not in
        <foreach collection="statusList" item="status" index="index" open="(" close=")" separator=",">
            #{status}
        </foreach>
        )
        and jar_regin = #{jarId}
        order by jar_loc_digit desc
    </select>
    <select id="getJarMastByJarIdMax" resultMap="BaseResultMap">
        select top 1 * from asr_bas_jar_mast
        where 1=1