双重预防项目-国泰新华二开定制版
heheng
2025-06-19 af6d33f7c16b121538a6cdd417728e03c4ad0ef1
src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
@@ -54,6 +54,21 @@
        where id = #{id}
    </update>
    <select id="listReportTaskRecordDateHuaiDong" resultMap="BaseResultMap">
        select * from prevent_cj_report_check_record_from_task
        where zhun_report_status = 1 and deleted = 0
            limit 50
        <!--          and create_date &gt;= '2025-06-15 00:00:00' and create_date &lt;= '2025-06-16 23:59:59'-->
    </select>
    <update id="updateHDReportStatusById">
        update prevent_cj_report_check_record_from_task set
                                                            zhun_report_status =  #{zhunReportStatus},
                                                            zhun_report_time = #{zhunReportTime}
        where id = #{id}
    </update>
<!--    int insertRecord(PreventCJReportCheckRecordFromTask recordFromTasks);-->
    <insert id="insertRecord">
        insert into prevent_cj_report_check_record_from_task
@@ -91,4 +106,15 @@
        where id = #{id}
    </update>
    <update id="updateTaskReportStatusForRePushV1">
        update prevent_cj_report_check_record_from_task set id=concat(substring(id,1,length(id)-4),'ccab'),report_status=1
        where check_time &gt;= #{startTime} and check_time &lt;= #{endTime}
    </update>
    <update id="updateTaskReportStatusForRePushV2">
        update prevent_cj_report_check_record_from_task set id=concat(substring(id,1,length(id)-4),'ccab'),report_status=1
        where check_time &gt; #{startTime} and check_time &lt;= #{endTime}
    </update>
</mapper>