feat 手动生成权限任务

This commit is contained in:
2024-12-19 16:08:56 +08:00
parent 0f69c56a93
commit 41411b4f2e
7 changed files with 219 additions and 0 deletions

View File

@@ -312,6 +312,7 @@ public class GainfoUpdateService : IGainfoUpdateService
await _dbContext.Deleteable<GainfoGroupRelationshipEntity>().Where(x => x.UserNo == gainfo.No).ExecuteCommandAsync();
await _dbContext.Deleteable<DevicePermissionEntity>().Where(x => x.AssignType == AssignTypeEnumType.User && x.AssignValue == gainfo.No).ExecuteCommandAsync();
gainfo.Id = gainfo.IdentityUserId;
await _dbContext.DeleteReallyAsync(gainfo);