<?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.mzl.flower.mapper.supplier.StationMapper">
|
<select id="queryPage" resultType="com.mzl.flower.dto.response.supplier.StationDTO">
|
select * from t_station t where t.deleted= 0
|
<if test="name != null and name != ''">
|
and t.name like concat('%', #{name}, '%')
|
</if>
|
order by t.update_time desc
|
</select>
|
<select id="queryList" resultType="com.mzl.flower.dto.response.supplier.StationDTO"
|
parameterType="java.lang.String">
|
select * from t_station t where t.deleted= 0
|
<if test="name != null and name != ''">
|
and t.name like concat('%', #{name}, '%')
|
</if>
|
order by t.update_time desc
|
</select>
|
</mapper>
|