双重预防项目-国泰新华二开定制版
heheng
2025-06-20 90b83e2ee39c9599d08a963ebf445911e5d6ff5c
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,12 +59,18 @@
        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
        values(null, #{id}, #{companyCode}, #{deleted}, #{createDate}, #{createBy}, #{updateDate}, #{updateBy}
        , #{riskEventId}, #{dataSrc}, #{riskMeasureDesc}, #{troubleshootContent}, #{classify1}, #{classify2}, #{classify3}
        , #{reportStatus}, #{reportTime}, #{dataSource}, #{riskMeasureId})
        , #{reportStatus}, #{reportTime}, #{dataSource}, #{riskMeasureId}, #{zhunReportStatus}, #{zhunReportTime})
    </insert>