智慧保安后台管理-验收版本
tangzy
2021-12-03 e0944874ca78c989787ce40e97dd5ef5d56f1169
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -257,7 +257,7 @@
        <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">
@@ -378,7 +378,7 @@
        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}