From af6d33f7c16b121538a6cdd417728e03c4ad0ef1 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 19 六月 2025 16:55:19 +0800 Subject: [PATCH] 准东数据推送 --- src/main/resources/mybatis/doublePrevention/PreventCJReportRiskAnaUnitMapper.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskAnaUnitMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskAnaUnitMapper.xml index 30fc447..c3fc181 100644 --- a/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskAnaUnitMapper.xml +++ b/src/main/resources/mybatis/doublePrevention/PreventCJReportRiskAnaUnitMapper.xml @@ -19,6 +19,7 @@ <result column="hazard_dep" property="hazardDep"/> <result column="hazard_liable_person" property="hazardLiablePerson"/> <result column="risk_unit_id" property="riskUnitId"/> + <result column="zhun_report_status" property="zhunReportStatus"/> </resultMap> <!--IPage<PreventRiskAnaUnit> getReportRiskUnitPage(Page<Object> page, PreReportRiskUnitQueryReqDTO queryReqDTO);--> @@ -46,6 +47,13 @@ limit 200 </select> + + <select id="listReportUnitDateHuaiDong" resultMap="BaseResultMap"> + select * from prevent_cj_report_risk_ana_unit + where zhun_report_status = 1 and deleted = 0 and hazard_code is not null and hazard_code LIKE '6523%' + limit 50 + </select> + <!--int updateReportStatus();--> <update id="updateReportStatus"> update prevent_cj_report_risk_ana_unit set @@ -62,6 +70,14 @@ where id = #{id} </update> + + <update id="updateHDReportStatusById"> + update prevent_cj_report_risk_ana_unit set + zhun_report_status = #{zhunReportStatus}, + zhun_report_time = #{zhunReportTime} + where id = #{id} + </update> + <!-- int insertUnitList(PreventCJReportRiskAnaUnit unit);--> <insert id="insertUnitList"> insert into prevent_cj_report_risk_ana_unit -- Gitblit v1.9.2