|
@@ -27,7 +27,7 @@ import java.util.List;
|
|
|
@Component
|
|
|
public class RedisCache extends AuthorizeUtils {
|
|
|
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* 缓存业务系统权限到redis
|
|
|
*
|
|
@@ -63,7 +63,7 @@ public class RedisCache extends AuthorizeUtils {
|
|
|
//获取登录人所有部门
|
|
|
JoinLambdaWrapper<SysDept> sysDeptJoinLambdaWrapper = new JoinLambdaWrapper<>(SysDept.class)
|
|
|
.eq(SysDept::getStatus, true)
|
|
|
- .innerJoin(SysUserDept.class, SysUserDept::getDeptId, SysUserDept::getId)
|
|
|
+ .innerJoin(SysUserDept.class, SysUserDept::getDeptId, SysDept::getId)
|
|
|
.eq(SysUserDept::getWorkUserId, loginId)
|
|
|
.end();
|
|
|
List<SysDept> sysDepts = sysDeptMapper.joinSelectList(sysDeptJoinLambdaWrapper, SysDept.class);
|