修改一些备注

Uat_Study
hang 2022-04-11 11:21:05 +08:00
parent 5241e62fe3
commit 74dcd12285
7 changed files with 19 additions and 12 deletions

1
.gitignore vendored
View File

@ -363,3 +363,4 @@ MigrationBackup/
FodyWeavers.xsd
/UploadFile/Check
/TrialData/281bdb09-f792-4faa-de18-08da0e042672/50d0cf71-ee4d-4e54-af06-490f8be1bff1/72b8ef0b-4adc-465e-fa25-08da122bbd9c/eb53c5e2-6307-42f3-d710-08da122bbde1/Dicom
/TrialData/4067198c-f9c4-47de-705a-08da12df3a17/6dedb49c-874c-4f7c-5c0d-08d947774c19

View File

@ -11,7 +11,7 @@ using IRaCIS.Core.Application.ViewModel;
namespace IRaCIS.Core.Application.Service
{
/// <summary>
/// CommonDocumentService
/// 系统模板文档配置表
/// </summary>
[ApiExplorerSettings(GroupName = "Common")]
public class CommonDocumentService : BaseService, ICommonDocumentService
@ -53,10 +53,5 @@ namespace IRaCIS.Core.Application.Service
}
}
}

View File

@ -117,6 +117,11 @@ namespace IRaCIS.Application.Services
}
/// <summary>
/// 根据父亲Code 获取单个下拉框数据
/// </summary>
/// <param name="searchKey"></param>
/// <returns></returns>
public async Task<List<BasicDicSelect>> GetBasicDataSelect(string searchKey)
{
var searchList = await _dicRepository.Where(t => t.Parent.Code== searchKey && t.ParentId != null && t.IsEnable).ProjectTo<BasicDicSelect>(_mapper.ConfigurationProvider).ToListAsync();
@ -125,6 +130,10 @@ namespace IRaCIS.Application.Services
}
/// <summary>
/// 获取所有下拉框 枚举 bool 数据
/// </summary>
/// <returns></returns>
[AllowAnonymous]
public async Task<Dictionary<string, List<BasicDicSelect>>> GetBasicDataAllSelect()
{

View File

@ -11,7 +11,7 @@ using Microsoft.AspNetCore.Mvc;
namespace IRaCIS.Core.Application.Contracts
{
/// <summary>
/// EmailNoticeConfigService
/// 系统邮件配置表
/// </summary>
[ApiExplorerSettings(GroupName = "Common")]
public class EmailNoticeConfigService : BaseService, IEmailNoticeConfigService
@ -28,9 +28,9 @@ namespace IRaCIS.Core.Application.Contracts
{
var emailNoticeConfigQueryable = _repository
.WhereIf<EmailNoticeConfig>(queryEmailNoticeConfig.ScenarioId != null, t => t.ScenarioId == queryEmailNoticeConfig.ScenarioId)
.WhereIf(queryEmailNoticeConfig.IsReturnRequired != null, t => t.IsReturnRequired == queryEmailNoticeConfig.IsReturnRequired)
.WhereIf(queryEmailNoticeConfig.IsUrgent != null, t => t.IsUrgent == queryEmailNoticeConfig.IsUrgent)
.WhereIf(queryEmailNoticeConfig.IsEnable != null, t => t.IsEnable == queryEmailNoticeConfig.IsEnable)
.WhereIf(queryEmailNoticeConfig.IsReturnRequired != null, t => t.IsReturnRequired == queryEmailNoticeConfig.IsReturnRequired)
.WhereIf(queryEmailNoticeConfig.IsUrgent != null, t => t.IsUrgent == queryEmailNoticeConfig.IsUrgent)
.WhereIf(queryEmailNoticeConfig.IsEnable != null, t => t.IsEnable == queryEmailNoticeConfig.IsEnable)
.ProjectTo<EmailNoticeConfigView>(_mapper.ConfigurationProvider);
return await emailNoticeConfigQueryable.ToPagedListAsync(queryEmailNoticeConfig.PageIndex, queryEmailNoticeConfig.PageSize, queryEmailNoticeConfig.SortField, queryEmailNoticeConfig.Asc);

View File

@ -633,7 +633,7 @@ namespace IRaCIS.Core.Application.Image.QA
#endregion
#region 导入组件有问题
#region 导入组件有问题 excel编码格式
//var Importer = new CsvImporter();
//var import = await Importer.Import<CheckViewModel>(File.OpenRead(filePath));

View File

@ -45,7 +45,7 @@ namespace IRaCIS.Application.Services
throw new Exception("当前code 没要找到对应的导出模板文件");
}
var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\')).FullName;
var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\'))?.FullName;
var filePath = Path.Combine(rootPath, doc.Path.Trim('/'));

View File

@ -186,6 +186,8 @@ namespace IRaCIS.Core.Application.Services
}
[HttpPut("{trialId:guid}/{subjectVisitId:guid}/{isUrgent:bool}")]
public async Task<IResponseOutput> SetSubjectVisitUrgent(Guid subjectVisitId, bool isUrgent)
{