|
@@ -36,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join ${database_system}.sys_dept d on a.dept_id = d.dept_id
|
|
|
<where>
|
|
|
<if test="enterpriseId != null and enterpriseId != ''"> and enterprise_id = #{enterpriseId}</if>
|
|
|
+ <if test="deptName != null and deptName != ''"> and a.dept_name like concat('%', #{deptName}, '%')</if>
|
|
|
<if test="enterpriseUserType != null and enterpriseUserType != ''"> and enterprise_user_type = #{enterpriseUserType}</if>
|
|
|
${params.dataScope}
|
|
|
</where>
|