16639036659
2023-08-22 61368267a12f9c8ec21ae6de15d52dfaa84927be
src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml
@@ -90,8 +90,10 @@
<!--    List<PreventRiskDangerInfo> listReportDanger();-->
    <select id="listReportDanger" resultMap="BaseResultMap">
<!--        select * from prevent_risk_danger_info-->
<!--        where report_switch = 0 and (update_report_data_time > report_time or report_time is null) and (hazard_code !='' or hazard_code != null )-->
        select * from prevent_risk_danger_info
        where report_switch = 0 and (update_report_data_time > report_time or report_time is null) and (hazard_code !='' or hazard_code != null )
        where report_switch = 0 and (update_report_data_time > report_time or report_time is null) and (hazard_code !='' or hazard_code != null) and danger_state = 9
    </select>
<!--    PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam);-->