From 135a322f44708b1187d37ea4b6859b5d82113e89 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期三, 14 八月 2024 11:00:30 +0800
Subject: [PATCH] update gitignore

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

diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml
index 79b5be6..ab652ea 100644
--- a/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml
+++ b/src/main/resources/mybatis/tr/TbSpecialCheckItemLogMapper.xml
@@ -38,7 +38,7 @@
             <if test="reportStatus != null">
             and report_status = #{reportStatus}
             </if>
-            order by  create_date desc
+            order by  report_status desc,check_name asc
         </where>
     </select>
 <!--    TbSpecialCheckItemDangerLog getSpecialCheckItemDangerLogByIndexId(Long indexId);;-->
@@ -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