fix 优化调整

This commit is contained in:
2024-02-22 17:53:06 +08:00
parent 4bd0c2403d
commit 0143b2aba1
2 changed files with 8 additions and 1 deletions

View File

@@ -20,6 +20,11 @@ public class DeviceGroupPageResponse
/// </summary>
public DeviceTypeEnumType? Type { get; set; }
/// <summary>
/// 是否可编辑
/// </summary>
public bool Editable { get; set; }
/// <summary>
/// 分组类型描述
/// </summary>

View File

@@ -14,11 +14,13 @@ public class CreateDefinitelyGroupJob
private readonly ITenantApi _tenantApi;
private readonly IDbContext _dbContext;
public CreateDefinitelyGroupJob(ILogger<CreateDefinitelyGroupJob> logger, ITenantApi tenantApi, IDbContext dbContext)
public CreateDefinitelyGroupJob(ILogger<CreateDefinitelyGroupJob> logger, ITenantApi tenantApi, IDbContext dbContext, ISqlSugarOptionsService sqlSugarOptionsService)
{
_logger = logger;
_tenantApi = tenantApi;
_dbContext = dbContext;
sqlSugarOptionsService.IgnoreTenant = true;
}
public async Task RunAsync()