From 46c37398a52d1dcf81788960ec90faa91249e77f Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Thu, 19 Jun 2025 16:53:05 +0800
Subject: [PATCH] 准东数据推送
---
src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
index 5a1295c..bf4f61e 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventCJReportCheckRecordFromTaskMapper.xml
@@ -54,6 +54,20 @@
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 and create_date >= '2025-06-15 00:00:00' and create_date <= '2025-06-16 23:59:59'
+ limit 50
+ </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 +105,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