注入修复
This commit is contained in:
+5
-4
@@ -2,12 +2,12 @@ namespace SimpleAdmin.Application;
|
||||
|
||||
public class OnboardingTaskLifecycleService : IOnboardingTaskLifecycleService
|
||||
{
|
||||
private readonly ISqlSugarClient _db;
|
||||
private readonly SqlSugarScope _db;
|
||||
private readonly IConfigService _config;
|
||||
|
||||
public OnboardingTaskLifecycleService(ISqlSugarClient db, IConfigService config)
|
||||
public OnboardingTaskLifecycleService(IConfigService config)
|
||||
{
|
||||
_db = db;
|
||||
_db = DbContext.DB;
|
||||
_config = config;
|
||||
}
|
||||
|
||||
@@ -87,4 +87,5 @@ public class OnboardingTaskLifecycleService : IOnboardingTaskLifecycleService
|
||||
AuditedAt = DateTime.Now
|
||||
}).ExecuteCommandAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user