From 838314ca286334935a3fa63084990ab23b44e612 Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期五, 07 七月 2023 09:22:51 +0800 Subject: [PATCH] 临时提交-任务记录检索优化;暂存定时任务,处理部分异常数据。 --- src/main/resources/mybatis/doublePrevention/PreventCJReportCheckTaskFromWorkMapper.xml | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckTaskFromWorkMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckTaskFromWorkMapper.xml index 013bd4e..b7ae120 100644 --- a/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckTaskFromWorkMapper.xml +++ b/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckTaskFromWorkMapper.xml @@ -41,6 +41,18 @@ limit 200 </select> + <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 + limit 50 + </select> + + <select id="listWork1" resultMap="BaseResultMap"> + select * from prevent_cj_report_check_task_from_work + where index_id > 800 and 1205 >= index_id and (82 > work_id or work_id > 94) and troubleshoot_content is null + limit 100 + </select> + <!--int updateWorkReportStatus(HandlerReportParam handlerReportParam);--> <update id="updateWorkReportStatus"> update prevent_cj_report_check_task_from_work set @@ -57,6 +69,27 @@ where id = #{id} </update> +<!-- int updateInfo(PreventCJReportCheckTaskFromWork work);--> + <update id="updateInfo"> + update prevent_cj_report_check_task_from_work set + work_start_time = #{workStartTime}, + work_end_time = #{workEndTime}, + troubleshoot_content = #{troubleshootContent} + where index_id = #{indexId} + </update> +<!-- int updateInfo1(PreventCJReportCheckTaskFromWork work);--> + <update id="updateInfo1"> + update prevent_cj_report_check_task_from_work set + troubleshoot_content = #{troubleshootContent}, + task_start_time = #{taskStartTime}, + work_day_type = #{workDayType}, + work_type = #{workType}, + task_num = #{taskNum} + + where index_id = #{indexId} + + </update> + <!-- int insertTaskFromWorkList(PreventCJReportCheckTaskFromWork cjTaskFromWork);--> <insert id="insertTaskFromWorkList"> insert into prevent_cj_report_check_task_from_work -- Gitblit v1.9.2