소스 검색

用户列表机构查询

lin 4 년 전
부모
커밋
05e75a7cdf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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>