双重预防项目-国泰新华二开定制版
马宇豪
2024-06-19 b2f311d02b4ce8a1dc11a782f97297b1e1fbd28b
src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
@@ -67,6 +67,17 @@
        where check_id = #{checkId}
    </update>
<!--    int updateTaskReportStatusByList(List<Long> ids, Byte reportStatus, Date reportTime);-->
    <update id="updateTaskReportStatusByList" >
        update prevent_risk_danger_check_log set
        report_status =  #{reportStatus},
        report_time = #{reportTime}
        WHERE 1=1 and id in
        <foreach collection="ids" item="id" index="index" open="(" close=")" separator=",">
            #{id}
        </foreach>
    </update>
</mapper>