From 2b67ed2da39eba5824cfee7950e03be2c1a256ec Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期一, 20 十月 2025 13:17:04 +0800
Subject: [PATCH] 新增数据上传准东

---
 src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml
index 75ea3b6..f6efa44 100644
--- a/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml
+++ b/src/main/resources/mybatis/tr/TbSpecialCheckTaskLogMapper.xml
@@ -22,6 +22,8 @@
         <result property="updateDate" column="update_date"/>
         <result property="reportTime" column="report_time"/>
         <result property="reportStatus" column="report_status"/>
+<!--        <result property="zhunReportTime" column="zhun_report_time"/>-->
+<!--        <result property="zhunReportStatus" column="zhun_report_status"/>-->
     </resultMap>
 
 
@@ -39,6 +41,9 @@
             <if test="reportStatus != null">
             and report_status = #{reportStatus}
             </if>
+<!--            <if test="zhunReportStatus != null">-->
+<!--            and zhun_report_status = #{zhunReportStatus}-->
+<!--            </if>-->
             order by  create_date desc
         </where>
     </select>
@@ -150,6 +155,12 @@
         where deleted = 0 and report_status = 1
     </select>
 
+
+    <select id="listZDCheckRecordLog" resultMap="BaseResultMap">
+        select * from tb_special_check_task_log
+        where deleted = 0 and zhun_report_status = 1 limit 20
+    </select>
+
     <select id="listTestReportTaskTest" resultMap="BaseResultMap">
         select * from tb_special_check_task_log
         where deleted = 0  and create_date &gt;= '2024-01-01 00:00:00' and create_date &lt;= '2024-06-16 23:59:59'
@@ -163,4 +174,11 @@
             report_time = #{reportTime}
         where id = #{id}  and deleted = 0
     </update>
+
+    <update id="updateEventReportStatusZhunDong">
+        update tb_special_check_task_log set
+           zhun_report_status =  #{zhunReportStatus},
+           zhun_report_time = #{zhunReportTime}
+        where id = #{id}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.2