src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -516,7 +516,10 @@ <!--查询账号相同的数量--> <select id="selectCountAccount" resultType="java.lang.Integer"> select count(*) from blade_user where account = #{account} select count(*) from blade_user where 1=1 and status = 1 and is_deleted = 0 and account = #{account} </select> <!--查询当前部门名称及父级部门名称-->