双重预防项目-国泰新华二开定制版
16639036659
2023-07-13 997b105cdf5aca180e8e0edcdec55267345af241
临时提交
已修改2个文件
8 ■■■■ 文件已修改
src/main/java/com/ruoyi/doublePrevention/entity/dto/req/PreventOverhaulLogReqBO.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mybatis/doublePrevention/PreventOverhaulMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/ruoyi/doublePrevention/entity/dto/req/PreventOverhaulLogReqBO.java
@@ -10,6 +10,10 @@
    private Integer  pageNum;
    private Integer  pageSize;
    /**
     *
     */
    private Long id;
    /**
     * 创建时间
src/main/resources/mybatis/doublePrevention/PreventOverhaulMapper.xml
@@ -34,8 +34,8 @@
        select * from prevent_overhaul_log
        <where>
            delete_status = 0
            <if test="overhaulLogReqBO.hazardCode != null and overhaulLogReqBO.hazardCode != ''">
                and hazard_code = #{overhaulLogReqBO.hazardCode}
            <if test="overhaulLogReqBO.id != null">
                and id = #{overhaulLogReqBO.id}
            </if>
        </where>
    </select>