From db9d7e4ce7f5fea229bb512244c9d94cf31b6786 Mon Sep 17 00:00:00 2001
From: 换个名字嗨起来 <577530412@qq.com>
Date: Wed, 31 Jul 2024 13:21:45 +0800
Subject: [PATCH] 修改检索内容
---
src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml
index d32766e..09fbbe6 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>
@@ -147,10 +150,10 @@
where deleted = 0 and report_status = 1
</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