From 46c37398a52d1dcf81788960ec90faa91249e77f Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期四, 19 六月 2025 16:53:05 +0800
Subject: [PATCH] 准东数据推送

---
 src/main/resources/mybatis/doublePrevention/PreventCJReportRiskControlMeasureMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskControlMeasureMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskControlMeasureMapper.xml
index 8fc59ef..ba57cca 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskControlMeasureMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskControlMeasureMapper.xml
@@ -36,6 +36,13 @@
         limit 200
     </select>
 
+    <select id="listReportMeasureDateHuaiDong" resultMap="BaseResultMap">
+        select a.* from prevent_cj_report_risk_control_measure a
+        INNER JOIN prevent_cj_report_risk_event b on a.risk_event_id = b.id and b.deleted = 0
+        where a.zhun_report_status = 1 and a.deleted = 0
+            limit 50
+    </select>
+
     <!--int updateMeasureReportStatus(HandlerReportParam handlerReportParam);-->
     <update id="updateMeasureReportStatus">
         update prevent_cj_report_risk_control_measure set
@@ -52,6 +59,12 @@
         where id = #{id}
     </update>
 
+    <update id="updateHDReportStatusById">
+        update prevent_cj_report_risk_control_measure set
+         zhun_report_status =  #{zhunReportStatus},
+         zhun_report_time = #{zhunReportTime}
+        where id = #{id}
+    </update>
 <!--    int insertMeasureList(PreventCJReportRiskControlMeasure cjMeasure);-->
     <insert id="insertMeasureList">
         insert into prevent_cj_report_risk_control_measure

--
Gitblit v1.9.2