#
lsh
2024-06-26 8f93d32b15cff5287a07649da92bd5b6276c14e2
src/main/resources/mapper/BasJarMastMapper.xml
@@ -88,17 +88,11 @@
    </select>
    <select id="selectJarMastOperationByStatusList" resultType="Integer">
        select count(1) from asr_bas_jar_mast
        where 1=1
          and
            (
            status in
            <foreach collection="statusList" item="status" index="index" open="(" close=")" separator=",">
                #{status}
            </foreach>
            )
          and jar_id = #{jarId}
        order by jar_loc_digit desc
        SELECT count(1) FROM [dbo].[asr_bas_jar_mast] WHERE status in
        <foreach collection="statusList" item="status" index="index" open="(" close=")" separator=",">
            #{status}
        </foreach>
        AND jar_id = #{jarId}
    </select>
    <update id="updateStatus">