| | |
| | | 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 |
| | |
| | | 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 |