智慧保安后台管理-外网项目备份
Administrator
2021-09-08 f615ab88f20f46511ba1dce5843da48549731fae
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -323,6 +323,7 @@
            where
            bu.is_deleted = 0
            and bu.status = 1
            and bu.examination_type != 1
            and bd.dept_category = 1
            and (hold = 2 or hold = 3)
            and bd.id = #{user.deptId}
@@ -489,4 +490,8 @@
        and sd.status = 0
    </select>
    <!--查询账号相同的数量-->
    <select id="selectCountAccount" resultType="java.lang.Integer">
        select count(*) from blade_user where account = #{account}
    </select>
</mapper>