sfd
2025-05-09 a080d67b9964cd632f52c481c0f20ef2e3e7073a
aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamMapper.xml
@@ -184,16 +184,9 @@
            AND classification.dict_type = 'aps_weld_classification'
            <where>
                seam.del_flag = '0'
                <if test="produceYears != null "> and produce_year in
                    <foreach item="produceYear" collection="produceYears" open="(" separator="," close=")">
                        #{produceYear}
                    </foreach>
                </if>
                <if test="produceMonths != null "> and produce_month in
                    <foreach item="produceMonth" collection="produceMonths" open="(" separator="," close=")">
                        #{produceMonth}
                    </foreach>
                </if>
                <foreach item="item" index="index" collection="list" separator=" OR " open="and (" close=") ">
                    produce_year = #{item.produceYear} and produce_month = #{item.produceMonth}
                </foreach>
            </where>
        GROUP BY
            seam.produce_year,