fix 增加角色WGZGLY

This commit is contained in:
2025-03-19 16:30:28 +08:00
parent f6f9f6d91c
commit aa56a4d217

View File

@@ -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)