<iftest="stationId != null "> and station_id = #{stationId}</if>
<iftest="bottleCode != null and bottleCode != ''"> and bottle_code = #{bottleCode}</if>
<iftest="myselfNum != null and myselfNum != ''"> and myself_num = #{myselfNum}</if>
...
...
@@ -99,14 +99,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="currentStatus != null and currentStatus != ''"> and current_status = #{currentStatus}</if>
<iftest="emptyType != null and emptyType != ''"> and empty_type = #{emptyType}</if>
<iftest="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
<iftest="stationName != null and stationName != ''"> and (SELECT station_name FROM t_gas_storage_station_info info WHERE info.station_id = station_id) like concat('%', #{stationName}, '%')</if>