yaowanxin
17 小时以前 a6249b972f4b929e070ace0517da5b44f5d96be2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.procurementrecord.mapper.GasTankWarningMapper">
 
 
    <select id="listPage" resultType="com.ruoyi.procurementrecord.pojo.GasTankWarning">
        select * from gas_tank_warning
        where 1=1
        <if test="gasTankWarning.tankName != null and gasTankWarning.tankName != ''">
            and tank_name like concat('%', #{gasTankWarning.tankName}, '%')
        </if>
        <if test="gasTankWarning.tankType != null">
            and tank_type = #{gasTankWarning.tankType}
        </if>
        <if test="gasTankWarning.warningType != null">
            and warning_type = #{gasTankWarning.warningType}
        </if>
        <if test="gasTankWarning.warningLevel != null">
            and warning_level = #{gasTankWarning.warningLevel}
        </if>
 
    </select>
</mapper>