From ca2c7d63825d8bbe74978b365e8f978aaa489b34 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期三, 17 七月 2024 16:43:23 +0800
Subject: [PATCH] 修复bug

---
 src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml
index 14a1548..ab652ea 100644
--- a/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml
+++ b/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml
@@ -161,11 +161,11 @@
         where deleted = 0 and report_status = 1
     </select>
 <!--    void updateItemDangerReportStatusById(HandlerSpecialCheckReportParam handlerCJReportParam);-->
-    <update id="updateItemDangerReportStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckItemLog">
+    <update id="updateItemDangerReportStatusById">
         update tb_special_check_item_log
             report_status =  #{reportStatus},
             report_time = #{reportTime}
-        where id = #{indexId}  and deleted = 0
+        where id = #{id}  and deleted = 0
     </update>
 <!--    TbSpecialCheckItemDangerLog getSpecialCheckItemDangerLogById(String id);-->
     <select id="getSpecialCheckItemDangerLogById" resultMap="BaseResultMap">

--
Gitblit v1.9.2