Compare commits

..

No commits in common. "a43abebc6e8c6531759f136cc828b107303667cf" and "1535f1096fdec5a569b75b3cc60a8ab8ce05676e" have entirely different histories.

5 changed files with 59 additions and 30 deletions

View File

@ -481,11 +481,6 @@
系统模板文档配置表 系统模板文档配置表
</summary> </summary>
</member> </member>
<member name="M:IRaCIS.Core.Application.Service.CommonDocumentService.#ctor(IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.CommonDocument})">
<summary>
系统模板文档配置表
</summary>
</member>
<member name="M:IRaCIS.Core.Application.Service.Common.ExcelExportService.TrialUserListExport(IRaCIS.Application.Contracts.TrialMaintenanceExportQuery,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.CommonDocument},IRaCIS.Application.Interfaces.IDictionaryService,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Trial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialUser})"> <member name="M:IRaCIS.Core.Application.Service.Common.ExcelExportService.TrialUserListExport(IRaCIS.Application.Contracts.TrialMaintenanceExportQuery,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.CommonDocument},IRaCIS.Application.Interfaces.IDictionaryService,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Trial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialUser})">
<summary> <summary>
项目参与人员导出 项目参与人员导出
@ -9955,11 +9950,6 @@
是否是一致性分析产生 是否是一致性分析产生
</summary> </summary>
</member> </member>
<member name="P:IRaCIS.Core.Application.ViewModel.GetConsistentRuleOut.IsReadingTaskViewInOrder">
<summary>
任务展示访视 读片任务显示是否顺序
</summary>
</member>
<member name="T:IRaCIS.Core.Application.ViewModel.TaskConsistentRuleQuery"> <member name="T:IRaCIS.Core.Application.ViewModel.TaskConsistentRuleQuery">
<summary>TaskConsistentRuleQuery 列表查询参数模型</summary> <summary>TaskConsistentRuleQuery 列表查询参数模型</summary>
</member> </member>
@ -13349,11 +13339,6 @@
数据字典-基础数据维护 数据字典-基础数据维护
</summary> </summary>
</member> </member>
<member name="M:IRaCIS.Application.Services.DictionaryService.#ctor(IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Dictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.DoctorDictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialDictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Doctor},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Trial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.SystemCriterionDictionaryCode},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialCriterionDictionaryCode},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingTrialCriterionDictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingSystemCriterionDictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingSystemCriterionDictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingQuestionCriterionSystem},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingQuestionCriterionTrial})">
<summary>
数据字典-基础数据维护
</summary>
</member>
<member name="M:IRaCIS.Application.Services.DictionaryService.AddBoolDic(IRaCIS.Application.Contracts.AddOrEditBasicDic)"> <member name="M:IRaCIS.Application.Services.DictionaryService.AddBoolDic(IRaCIS.Application.Contracts.AddOrEditBasicDic)">
<summary> <summary>
添加bool 添加bool

View File

@ -17,9 +17,17 @@ namespace IRaCIS.Core.Application.Service
/// 系统模板文档配置表 /// 系统模板文档配置表
/// </summary> /// </summary>
[ApiExplorerSettings(GroupName = "Common")] [ApiExplorerSettings(GroupName = "Common")]
public class CommonDocumentService(IRepository<CommonDocument> _commonDocumentRepository) : BaseService, ICommonDocumentService public class CommonDocumentService : BaseService, ICommonDocumentService
{ {
private readonly IRepository<CommonDocument> _commonDocumentRepository;
public CommonDocumentService(IRepository<CommonDocument> commonDocumentRepository)
{
_commonDocumentRepository = commonDocumentRepository;
}
[HttpPost] [HttpPost]
public async Task<PageOutput<CommonDocumentView>> GetCommonDocumentList(CommonDocumentQuery queryCommonDocument) public async Task<PageOutput<CommonDocumentView>> GetCommonDocumentList(CommonDocumentQuery queryCommonDocument)
{ {

View File

@ -13,21 +13,48 @@ namespace IRaCIS.Application.Services
/// </summary> /// </summary>
[ApiExplorerSettings(GroupName = "Common")] [ApiExplorerSettings(GroupName = "Common")]
public class DictionaryService (IRepository<Dictionary> _dicRepository, public class DictionaryService : BaseService, IDictionaryService
IRepository<DoctorDictionary> _doctorDictionaryRepository,
IRepository<TrialDictionary> _trialDictionaryRepository,
IRepository<Doctor> _doctorRepository,
IRepository<Trial> _trialRepository,
IRepository<SystemCriterionDictionaryCode> _systemCriterionDictionaryCodeRepository,
IRepository<TrialCriterionDictionaryCode> _trialCriterionDictionaryCodeRepository,
IRepository<ReadingTrialCriterionDictionary> _readingTrialCriterionDictionaryRepository,
IRepository<ReadingSystemCriterionDictionary> _readingSystemCriterionDictionaryRepository,
IRepository<ReadingSystemCriterionDictionary> _readingCriterionDictionaryRepository,
IRepository<ReadingQuestionCriterionSystem> _readingQuestionCriterionSystem,
IRepository<ReadingQuestionCriterionTrial> _readingQuestionCriterionTrial
) : BaseService, IDictionaryService
{ {
private readonly IRepository<Dictionary> _dicRepository;
private readonly IRepository<DoctorDictionary> _doctorDictionaryRepository;
private readonly IRepository<TrialDictionary> _trialDictionaryRepository;
private readonly IRepository<Doctor> _doctorRepository;
private readonly IRepository<Trial> _trialRepository;
private readonly IRepository<SystemCriterionDictionaryCode> _systemCriterionDictionaryCodeRepository;
private readonly IRepository<TrialCriterionDictionaryCode> _trialCriterionDictionaryCodeRepository;
private readonly IRepository<ReadingTrialCriterionDictionary> _readingTrialCriterionDictionaryRepository;
private readonly IRepository<ReadingSystemCriterionDictionary> _readingSystemCriterionDictionaryRepository;
private readonly IRepository<ReadingSystemCriterionDictionary> _readingCriterionDictionaryRepository;
private readonly IRepository<ReadingQuestionCriterionSystem> _readingQuestionCriterionSystem;
private readonly IRepository<ReadingQuestionCriterionTrial> _readingQuestionCriterionTrial;
public DictionaryService(IRepository<Dictionary> sysDicRepository, IRepository<DoctorDictionary> doctorDictionaryRepository, IRepository<TrialDictionary> trialDictionaryRepository,
IRepository<Doctor> doctorRepository, IRepository<Trial> trialRepository,
IRepository<SystemCriterionDictionaryCode> systemCriterionDictionaryCodeRepository,
IRepository<TrialCriterionDictionaryCode> trialCriterionDictionaryCodeRepository,
IRepository<ReadingTrialCriterionDictionary> readingTrialCriterionDictionaryRepository,
IRepository<ReadingSystemCriterionDictionary> readingSystemCriterionDictionaryRepository,
IRepository<ReadingSystemCriterionDictionary> readingCriterionDictionaryRepository,
IRepository<ReadingQuestionCriterionSystem> readingQuestionCriterionSystem,
IRepository<ReadingQuestionCriterionTrial> readingQuestionCriterionTrial
)
{
_dicRepository = sysDicRepository;
_doctorDictionaryRepository = doctorDictionaryRepository;
_trialDictionaryRepository = trialDictionaryRepository;
_doctorRepository = doctorRepository;
_trialRepository = trialRepository;
this._systemCriterionDictionaryCodeRepository = systemCriterionDictionaryCodeRepository;
this._trialCriterionDictionaryCodeRepository = trialCriterionDictionaryCodeRepository;
this._readingTrialCriterionDictionaryRepository = readingTrialCriterionDictionaryRepository;
this._readingSystemCriterionDictionaryRepository = readingSystemCriterionDictionaryRepository;
this._readingCriterionDictionaryRepository = readingCriterionDictionaryRepository;
this._readingQuestionCriterionSystem = readingQuestionCriterionSystem;
this._readingQuestionCriterionTrial = readingQuestionCriterionTrial;
}
/// <summary> /// <summary>
/// 添加bool /// 添加bool

View File

@ -878,6 +878,8 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
} }
} }
return result; return result;
} }

View File

@ -54,9 +54,16 @@ namespace IRaCIS.Core.Application.Service
/// <#=tableName#>Service /// <#=tableName#>Service
/// </summary> /// </summary>
[ ApiExplorerSettings(GroupName = "Test")] [ ApiExplorerSettings(GroupName = "Test")]
public class <#=tableName#>Service(IRepository<<#=tableName#>> _<#=char.ToLower(tableName[0]) + tableName.Substring(1)#>Repository): BaseService, I<#=tableName#>Service public class <#=tableName#>Service: BaseService, I<#=tableName#>Service
{ {
private readonly IRepository<<#=tableName#>> _<#=char.ToLower(tableName[0]) + tableName.Substring(1)#>Repository;
public <#=tableName#>Service(IRepository<<#=tableName#>> <#=char.ToLower(tableName[0]) + tableName.Substring(1)#>Repository)
{
_<#=char.ToLower(tableName[0]) + tableName.Substring(1)#>Repository = <#=char.ToLower(tableName[0]) + tableName.Substring(1)#>Repository;
}
<# if(isPage){#> <# if(isPage){#>
[HttpPost] [HttpPost]
public async Task<PageOutput<<#=tableName#>View>> Get<#=tableName#>List(<#=tableName#>Query inQuery) public async Task<PageOutput<<#=tableName#>View>> Get<#=tableName#>List(<#=tableName#>Query inQuery)