|
@@ -77,7 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="areaName != null and areaName != ''"> and u.area_name like concat('%', #{areaName}, '%')</if>
|
|
<if test="areaName != null and areaName != ''"> and u.area_name like concat('%', #{areaName}, '%')</if>
|
|
<if test="schoolName != null and schoolName != ''"> and u.school_name like concat('%', #{schoolName}, '%')</if>
|
|
<if test="schoolName != null and schoolName != ''"> and u.school_name like concat('%', #{schoolName}, '%')</if>
|
|
<if test="nickName != null and nickName != ''"> and u.nick_name like concat('%', #{nickName}, '%')</if>
|
|
<if test="nickName != null and nickName != ''"> and u.nick_name like concat('%', #{nickName}, '%')</if>
|
|
- <if test="type != null and type != ''"> and u.type = #{type} </if>
|
|
|
|
|
|
+ <if test="type != null and type != ''"> and s.type = #{type} </if>
|
|
</where>
|
|
</where>
|
|
order by user_id,create_time desc
|
|
order by user_id,create_time desc
|
|
</select>
|
|
</select>
|