|
<if test="name != null and name != ''">AND a.name like concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''">AND a.name like concat('%', #{name}, '%')</if>
|
|
<when test="deptId != null and deptId != ''">and FIND_IN_SET( #{deptId}, CONCAT(d.ancestors,',',d.dept_id) )</when>
|
|
<when test="deptId != null and deptId != ''">and FIND_IN_SET( #{deptId}, CONCAT(d.ancestors,',',d.dept_id) )</when>
|