| | |
| | | <if test="user.securitynumber!=null and user.securitynumber != ''"> |
| | | and bu.securitynumber like concat('%', #{user.securitynumber},'%') |
| | | </if> |
| | | <if test="user.deptId!=null and user.deptId!=''"> |
| | | <if test="user.deptId!=null and user.deptId!='' and user.deptId!='1460129345988239362'"> |
| | | and bu.dept_id =#{user.deptId} |
| | | </if> |
| | | <if test="user.type!=null"> |
| | |
| | | and bd.parent_id!=1425365577303621633 |
| | | and bd.id != 1425365577303621633 |
| | | and bd.id != 1432625856013971457 |
| | | <if test="user.deptId!=null and user.deptId!=''"> |
| | | <if test="user.deptId!=null and user.deptId!='' and user.deptId!='1460129345988239362'"> |
| | | and bd.id in |
| | | ( |
| | | select id from blade_dept where id = #{user.deptId} |