移除属性注入改为构造函数注入
continuous-integration/drone/push Build is passing

This commit is contained in:
hang
2024-10-13 13:31:25 +08:00
parent f1be4eaf5f
commit 0206947202
117 changed files with 285 additions and 451 deletions
@@ -17,12 +17,12 @@ namespace IRaCIS.Core.Application.Service
/// 分配规则
/// </summary>
[ApiExplorerSettings(GroupName = "Trial")]
public class TaskAllocationRuleService(
IRepository<TaskAllocationRule> _taskAllocationRuleRepository,
public class TaskAllocationRuleService(IRepository<TaskAllocationRule> _taskAllocationRuleRepository,
IRepository<User> _userRepository,
IRepository<Enroll> _enrollRepository,
IRepository<ReadingQuestionCriterionTrial> _readingQuestionCriterionTrialRepository,
IRepository<SubjectCanceDoctor> _subjectCanceDoctorRepository) : BaseService, ITaskAllocationRuleService
IRepository<SubjectCanceDoctor> _subjectCanceDoctorRepository,
IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer) : BaseService, ITaskAllocationRuleService
{