|
@@ -841,7 +841,7 @@ public class PersonnelService extends ServiceImpl<PersonnelMapper, Personnel> {
|
|
|
//获取登陆人信息
|
|
|
PersonnelVO personnelVO1 = cacheUtils.getLoginUser(StpUtil.getLoginIdAsInt());
|
|
|
// 代码控制若不是超级管理员则只能查看本租户的人员列表
|
|
|
- if (personnelVO1.getRoleType() == null || personnelVO1.getRoleType() != 1) {
|
|
|
+ if (personnelVO1.getRoleType() == null || personnelVO1.getRoleType() != 1||personnelVO1.getRoleType()!=3) {
|
|
|
personnelDTO.setTenant(personnelVO1.getTenantId());
|
|
|
}
|
|
|
if (current != null && size != null) {
|