马宇豪
2023-09-11 4f20d1afbe641a2f3fd49ae9460ea3630b7acf2b
src/main/resources/mybatis/doublePrevention/PreventRiskEventMapper.xml
@@ -130,7 +130,7 @@
<!--    List<PreventRiskEvent> listReportEvent();-->
    <select id="listReportEvent" resultMap="BaseResultMap">
        select * from prevent_risk_event
        where report_switch = 0 and (update_report_data_time > report_time or report_time is null)
        where report_switch = 0 and delete_status  = 0 and (update_report_data_time > report_time or report_time is null)
    </select>
<!--    int updateEventReportStatus(HandlerReportParam handlerReportParam);-->
    <update id="updateEventReportStatus">