| | |
| | | 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 |
| | |
| | | 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);--> |