双重预防项目-国泰新华二开定制版
heheng
2025-06-19 46c37398a52d1dcf81788960ec90faa91249e77f
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