双重预防项目-国泰新华二开定制版
heheng
2025-06-20 40e6b02f26a7c0a1911a69b951c948f582df4032
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
@@ -96,7 +109,7 @@
        values(null, #{id}, #{companyCode}, #{deleted}, #{createDate}, #{createBy}, #{updateDate}, #{updateBy}
        , #{riskMeasureId}, #{checkCycle}, #{checkCycleUnit}
        , #{reportStatus}, #{reportTime}, #{dataSource}, #{workId}
        , #{troubleshootContent},#{taskStartTime},#{workStartTime},#{workEndTime},#{workDayType},#{workType},#{taskNum})
        , #{troubleshootContent},#{taskStartTime},#{workStartTime},#{workEndTime},#{workDayType},#{workType},#{taskNum}, #{zhunReportStatus}, #{zhunReportTime})
    </insert>
<!--    PreventCJReportCheckTaskFromWork geByMeasureUUidAndJobId(String measureUuid, Long jobId);-->