|
|
@@ -95,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="request.username != null and request.username != ''"> and username like concat('%', #{request.username}, '%') </if> |
|
|
|
<if test="request.realname != null and request.realname != ''"> and realname like concat('%', #{request.realname}, '%') </if> |
|
|
|
<if test="request.roleId != null and request.roleId != 0"> and role_id = #{request.roleId} </if> |
|
|
|
<if test="request.deptId != null and request.deptId != ''"> and dept_id = #{request.deptId} </if> |
|
|
|
<if test="request.deptIdList != null and request.deptIdList.size() > 0"> |
|
|
|
and dept_id in |
|
|
|
<foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")"> |