From 40e6b02f26a7c0a1911a69b951c948f582df4032 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 20 六月 2025 13:23:18 +0800 Subject: [PATCH] 准东数据推送优化 --- src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml index d32766e..cec96dd 100644 --- a/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml +++ b/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml @@ -30,6 +30,9 @@ select * from tb_special_check_task_log <where> deleted = 0 + <if test="id != null"> + and task_id = #{id} + </if> <if test="hazardSource != null"> and hazard_source like concat('%',#{hazardSource},'%') </if> @@ -146,11 +149,18 @@ select * from tb_special_check_task_log where deleted = 0 and report_status = 1 </select> + + <select id="listTestReportTaskTest" resultMap="BaseResultMap"> + select * from tb_special_check_task_log + where deleted = 0 and create_date >= '2024-01-01 00:00:00' and create_date <= '2024-06-16 23:59:59' + </select> + + <!-- void updateCheckTaskReportStatusById(HandlerCJReportParam handlerCJReportParam);--> - <update id="updateCheckTaskReportStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckTaskLog"> + <update id="updateCheckTaskReportStatusById"> update tb_special_check_task_log report_status = #{reportStatus}, report_time = #{reportTime} - where id = #{indexId} and deleted = 0 + where id = #{id} and deleted = 0 </update> </mapper> \ No newline at end of file -- Gitblit v1.9.2