Merge remote-tracking branch 'origin/development' into development

This commit is contained in:
2024-12-30 15:02:16 +08:00

View File

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