双重预防项目-国泰新华二开定制版
heheng
2025-06-19 af6d33f7c16b121538a6cdd417728e03c4ad0ef1
src/main/resources/mybatis/doublePrevention/PreventCJReportCheckTaskFromWorkMapper.xml
@@ -41,6 +41,19 @@
        limit 200
    </select>
    <select id="listReportTaskFromWorkDateHD" resultMap="BaseResultMap">
        select * from prevent_cj_report_check_task_from_work
        where zhun_report_status = 1 and deleted = 0
            limit 50
    </select>
    <update id="updateHDReportStatusById">
        update prevent_cj_report_check_task_from_work set
                                                          zhun_report_status =  #{zhunReportStatus},
                                                          zhun_report_time = #{zhunReportTime}
        where id = #{id}
    </update>
    <select id="listWork" resultMap="BaseResultMap">
        select * from prevent_cj_report_check_task_from_work
        where work_id >= 82 and  94 >= work_id and troubleshoot_content is null
@@ -102,7 +115,7 @@
<!--    PreventCJReportCheckTaskFromWork geByMeasureUUidAndJobId(String measureUuid, Long jobId);-->
    <select id="geByMeasureUUidAndJobId" resultMap="BaseResultMap">
        select * from prevent_cj_report_check_task_from_work
        where work_id = #{jobId} and risk_measure_id = #{measureUuid} and deleted = 0
        where work_id = #{jobId} and risk_measure_id = #{measureUuid} and deleted = 0 order by create_date desc limit 1
    </select>