<iftest="stationId != null "> and record.station_id = #{stationId}</if>
<iftest="stationId != null "> and record.station_id = #{stationId}</if>
<iftest="gasUserId != null "> and record.gas_user_id = #{gasUserId}</if>
<iftest="gasUserId != null "> and record.gas_user_id = #{gasUserId}</if>
<iftest="safeCheckDate != null "> and record.safe_check_date = #{safeCheckDate}</if>
<iftest="safeCheckDate != null "> and record.safe_check_date = #{safeCheckDate}</if>
...
@@ -105,13 +105,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -105,13 +105,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="gasUserType != null and gasUserType != ''"> and us.gas_user_type = #{gasUserType}</if>
<iftest="gasUserType != null and gasUserType != ''"> and us.gas_user_type = #{gasUserType}</if>
<iftest="safeCheckBeginTime != null and safeCheckEndTime != null">and record.safe_check_date between #{safeCheckBeginTime} and #{safeCheckEndTime} </if>
<iftest="safeCheckBeginTime != null and safeCheckEndTime != null">and record.safe_check_date between #{safeCheckBeginTime} and #{safeCheckEndTime} </if>