Explorar el Código

用户列表机构查询

lin hace 4 años
padre
commit
05e75a7cdf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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>