<?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>
|