From fa3f2aa6154d2434ffb49ed80854cec3e70aa8a5 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Wed, 25 Jun 2025 15:59:49 +0800
Subject: [PATCH] 修复sql
---
src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
index 50d270f..5f71865 100644
--- a/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
+++ b/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
@@ -192,11 +192,11 @@
where deleted = 0 and report_status = 1
</select>
<!-- void updateItemDangerReportStatusById(HandlerSpecialCheckReportParam handlerCJReportParam);-->
- <update id="updateItemDangerReportStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckScoreAndDangerLog">
- update tb_special_check_score_and_danger_log
+ <update id="updateItemDangerReportStatusById" >
+ update tb_special_check_score_and_danger_log set
report_status = #{reportStatus},
report_time = #{reportTime}
- where id = #{indexId} and deleted = 0
+ where id = #{id} and deleted = 0
</update>
<!-- TbSpecialCheckItemDangerLog getSpecialCheckScoreAndDangerLogById(String id);-->
<select id="getSpecialCheckScoreAndDangerLogById" resultMap="BaseResultMap">
--
Gitblit v1.9.2