| | |
| | | limit 200 |
| | | </select> |
| | | |
| | | <select id="listReportEventDateHuaiDong" resultMap="BaseResultMap"> |
| | | select a.* from prevent_cj_report_risk_event a |
| | | inner join prevent_cj_report_risk_ana_unit b on a.risk_unit_id = b.id |
| | | where a.zhun_report_status = 1 and a.risk_unit_id is not null and a.deleted = 0 and b.deleted = 0 |
| | | limit 50 |
| | | </select> |
| | | |
| | | |
| | | <!--int updateEventReportStatus(HandlerReportParam handlerReportParam);--> |
| | | <update id="updateEventReportStatus"> |
| | | update prevent_cj_report_risk_event set |
| | |
| | | where risk_event_id = #{id} |
| | | </update> |
| | | |
| | | <update id="updateEventReportStatusHuaiDong"> |
| | | update prevent_cj_report_risk_event set |
| | | zhun_report_status = #{zhunReportStatus}, |
| | | zhun_report_time = #{zhunReportTime} |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <!--int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);--> |
| | | <update id="updateCJReportStatusById"> |
| | | update prevent_cj_report_risk_event set |