Browse Source

用户列表机构查询

lin 4 years ago
parent
commit
05e75a7cdf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/mapper/UserMapper.xml

+ 1 - 0
src/main/resources/mapper/UserMapper.xml

@@ -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>