zhanghl
2025-04-16 be09966397e0f4678bf8029ba6a3bcebaef4907b
aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStatisticsMapper.xml
@@ -36,7 +36,9 @@
            <if test="params.beginYear != null and params.beginYear != '' and params.endYear != null and params.endYear != ''"> and year between #{params.beginYear} and #{params.endYear}</if>
            <if test="params.beginMonth != null and params.beginMonth != '' and params.endMonth != null and params.endMonth != ''"> and month between #{params.beginMonth} and #{params.endMonth}</if>
            <if test="productionBase != null  and productionBase != ''"> and production_base like '%'|| #{productionBase}|| '%'</if>
            and del_flag='0'
        </where>
        order by   year, month ,production_base
    </select>
    
    <select id="selectApsWeldSeamStatisticsById" parameterType="String" resultMap="ApsWeldSeamStatisticsResult">
@@ -125,4 +127,8 @@
            #{id}
        </foreach>
    </delete>
    <update id="removeLastBatch" parameterType="String">
        update  aps_weld_seam_statistics set del_flag='1'    where  del_flag='0'
    </update>
</mapper>