From af6d33f7c16b121538a6cdd417728e03c4ad0ef1 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Thu, 19 Jun 2025 16:55:19 +0800
Subject: [PATCH] 准东数据推送
---
src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
index 5a1295c..800a3dc 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
@@ -54,6 +54,21 @@
where id = #{id}
</update>
+ <select id="listReportTaskRecordDateHuaiDong" resultMap="BaseResultMap">
+ select * from prevent_cj_report_check_record_from_task
+ where zhun_report_status = 1 and deleted = 0
+ limit 50
+ <!-- and create_date >= '2025-06-15 00:00:00' and create_date <= '2025-06-16 23:59:59'-->
+ </select>
+
+ <update id="updateHDReportStatusById">
+ update prevent_cj_report_check_record_from_task set
+ zhun_report_status = #{zhunReportStatus},
+ zhun_report_time = #{zhunReportTime}
+ where id = #{id}
+ </update>
+
+
<!-- int insertRecord(PreventCJReportCheckRecordFromTask recordFromTasks);-->
<insert id="insertRecord">
insert into prevent_cj_report_check_record_from_task
@@ -91,4 +106,15 @@
where id = #{id}
</update>
+ <update id="updateTaskReportStatusForRePushV1">
+ update prevent_cj_report_check_record_from_task set id=concat(substring(id,1,length(id)-4),'ccab'),report_status=1
+ where check_time >= #{startTime} and check_time <= #{endTime}
+ </update>
+
+ <update id="updateTaskReportStatusForRePushV2">
+ update prevent_cj_report_check_record_from_task set id=concat(substring(id,1,length(id)-4),'ccab'),report_status=1
+ where check_time > #{startTime} and check_time <= #{endTime}
+ </update>
+
+
</mapper>
--
Gitblit v1.9.2