双重预防项目-国泰新华二开定制版
16639036659
2023-08-22 61368267a12f9c8ec21ae6de15d52dfaa84927be
隐患检索逻辑变更
已修改1个文件
4 ■■■ 文件已修改
src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);-->