|
@@ -211,6 +211,7 @@
|
|
|
<if test="name != null and name != ''"> AND su.`name` LIKE concat('%',#{name},'%')</if>
|
|
|
<if test="mobilePhone != null and mobilePhone != ''"> AND su.mobile_phone LIKE concat('%',#{mobilePhone},'%')</if>
|
|
|
<if test="roleId != null"> and sr.id = #{roleId} </if>
|
|
|
+ <if test="organId != null"> and so.id = #{organId} </if>
|
|
|
order by su.type asc,su.create_date desc
|
|
|
</select>
|
|
|
|