fix 增加角色WGZGLY
This commit is contained in:
@@ -128,7 +128,7 @@ public class WorkGridService : IWorkGridService
|
||||
var role = _currentUser.GetRole();
|
||||
var factory = _currentUser.GetStringTenantId();
|
||||
var userCode = _currentUser.GetUserClaim(UserClaimConstants.JinkoCode);
|
||||
var isAll = role is "admin" or "tenant-admin";
|
||||
var isAll = role is "admin" or "tenant-admin" or "WGZGLY";
|
||||
|
||||
return await _dbContext.Queryable<WorkGridEntity>()
|
||||
.LeftJoin<GainfoEntity>((x, ga) => x.LeaderUserCode == ga.Code)
|
||||
|
||||
Reference in New Issue
Block a user