From 91eeb185de1e8ccc632d4fc1efeb0f9abf315050 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期二, 02 七月 2024 09:18:23 +0800
Subject: [PATCH] 上报数据与拉去任务初步版本

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

diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
index 2fdf2b4..50d270f 100644
--- a/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
+++ b/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
@@ -38,7 +38,7 @@
         <where>
             deleted = 0
             <if test="id != null">
-                and check_item_id = #{checkItemId}
+                and check_score_id = #{id}
             </if>
             <if test="checkType != null">
                 and check_type like concat('%',#{checkType},'%')
@@ -154,9 +154,6 @@
             <if test="checkDate != null">
                 check_date = #{checkDate},
             </if>
-            <if test="resultStatus != null">
-                result_status = #{resultStatus},
-            </if>
             <if test="reportStatus != null">
                 report_status = #{reportStatus},
             </if>
@@ -206,4 +203,10 @@
         select * from tb_special_check_score_and_danger_log
         where deleted = 0 and id = #{id}
     </select>
+<!--    List<TbSpecialCheckScoreAndDangerLog> listScoreAndDangerLogReportList();-->
+    <select id="listScoreAndDangerLogReportList" resultMap="BaseResultMap">
+        select * from tb_special_check_score_and_danger_log
+        where deleted = 0 and report_status = 1
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.2