合并接口
parent
5846ca9fb9
commit
576c1bf7e9
|
@ -355,8 +355,6 @@ namespace IRaCIS.Core.API.Controllers
|
||||||
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
|
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 下载访视计划
|
/// 下载访视计划
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -480,6 +478,93 @@ namespace IRaCIS.Core.API.Controllers
|
||||||
var fun = _trialConfigService.TrialConfigSignatureConfirm;
|
var fun = _trialConfigService.TrialConfigSignatureConfirm;
|
||||||
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
|
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置 基础逻辑信息并确认
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="opt"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost, Route("Inspection/configTrialBasicInfo/ConfigTrialBasicInfoConfirm")]
|
||||||
|
[UnitOfWork]
|
||||||
|
public async Task<IResponseOutput> ConfigTrialBasicInfoConfirm(DataInspectionDto<BasicTrialConfig> opt)
|
||||||
|
{
|
||||||
|
var data = await _trialConfigService.ConfigTrialBasicInfo(opt.OptCommand);
|
||||||
|
if (!data.IsSuccess)
|
||||||
|
{
|
||||||
|
return ResponseOutput.NotOk(data.ErrorMessage);
|
||||||
|
}
|
||||||
|
var fun = _trialConfigService.TrialConfigSignatureConfirm;
|
||||||
|
return await _inspectionService.Enforcement(new SignConfirmDTO() {
|
||||||
|
TrialId=opt.OptCommand.TrialId,
|
||||||
|
SignCode=opt.OptCommand.SignCode
|
||||||
|
}, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置流程并确认
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="opt"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost, Route("Inspection/configTrialBasicInfo/ConfigTrialProcessInfoConfirm")]
|
||||||
|
[UnitOfWork]
|
||||||
|
public async Task<IResponseOutput> ConfigTrialProcessInfoConfirm(DataInspectionDto<TrialProcessConfig> opt)
|
||||||
|
{
|
||||||
|
var data = await _trialConfigService.ConfigTrialProcessInfo(opt.OptCommand);
|
||||||
|
if (!data.IsSuccess)
|
||||||
|
{
|
||||||
|
return ResponseOutput.NotOk(data.ErrorMessage);
|
||||||
|
}
|
||||||
|
var fun = _trialConfigService.TrialConfigSignatureConfirm;
|
||||||
|
return await _inspectionService.Enforcement(new SignConfirmDTO()
|
||||||
|
{
|
||||||
|
TrialId = opt.OptCommand.TrialId,
|
||||||
|
SignCode = opt.OptCommand.SignCode
|
||||||
|
}, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置加急信息并确认
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="opt"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost, Route("Inspection/configTrialBasicInfo/ConfigTrialUrgentInfoConfirm")]
|
||||||
|
[UnitOfWork]
|
||||||
|
public async Task<IResponseOutput> ConfigTrialUrgentInfoConfirm(DataInspectionDto<TrialUrgentConfig> opt)
|
||||||
|
{
|
||||||
|
var data = await _trialConfigService.ConfigTrialUrgentInfo(opt.OptCommand);
|
||||||
|
if (!data.IsSuccess)
|
||||||
|
{
|
||||||
|
return ResponseOutput.NotOk(data.ErrorMessage);
|
||||||
|
}
|
||||||
|
var fun = _trialConfigService.TrialConfigSignatureConfirm;
|
||||||
|
return await _inspectionService.Enforcement(new SignConfirmDTO()
|
||||||
|
{
|
||||||
|
TrialId = opt.OptCommand.TrialId,
|
||||||
|
SignCode = opt.OptCommand.SignCode
|
||||||
|
}, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 保存并确认访视计划
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="opt"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost, Route("Inspection/VisitPlan/SaveConfirmTrialVisitPlan")]
|
||||||
|
[UnitOfWork]
|
||||||
|
public async Task<IResponseOutput> SaveConfirmTrialVisitPlan(DataInspectionDto<VisitPlanCommand> opt)
|
||||||
|
{
|
||||||
|
var update = await _visitPlanService.AddOrUpdateVisitStage(opt.OptCommand);
|
||||||
|
if (!update.IsSuccess)
|
||||||
|
{
|
||||||
|
return ResponseOutput.NotOk(update.ErrorMessage);
|
||||||
|
}
|
||||||
|
var fun = _visitPlanService.ConfirmTrialVisitPlan;
|
||||||
|
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
#region 受试者
|
#region 受试者
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -205,6 +205,34 @@
|
||||||
<param name="signConfirmDTO">签名确认</param>
|
<param name="signConfirmDTO">签名确认</param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.ConfigTrialBasicInfoConfirm(IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionDto{IRaCIS.Core.Application.Contracts.BasicTrialConfig})">
|
||||||
|
<summary>
|
||||||
|
配置 基础逻辑信息并确认
|
||||||
|
</summary>
|
||||||
|
<param name="opt"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.ConfigTrialProcessInfoConfirm(IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionDto{IRaCIS.Core.Application.Contracts.TrialProcessConfig})">
|
||||||
|
<summary>
|
||||||
|
配置流程并确认
|
||||||
|
</summary>
|
||||||
|
<param name="opt"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.ConfigTrialUrgentInfoConfirm(IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionDto{IRaCIS.Core.Application.Contracts.TrialUrgentConfig})">
|
||||||
|
<summary>
|
||||||
|
配置加急信息并确认
|
||||||
|
</summary>
|
||||||
|
<param name="opt"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.SaveConfirmTrialVisitPlan(IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionDto{IRaCIS.Application.Contracts.VisitPlanCommand})">
|
||||||
|
<summary>
|
||||||
|
保存并确认访视计划
|
||||||
|
</summary>
|
||||||
|
<param name="opt"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.AddOrUpdateSubject(IRaCIS.Core.Application.Service.Inspection.DTO.InsSubjectCommand)">
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.AddOrUpdateSubject(IRaCIS.Core.Application.Service.Inspection.DTO.InsSubjectCommand)">
|
||||||
<summary>
|
<summary>
|
||||||
添加或更新受试者信息[New]
|
添加或更新受试者信息[New]
|
||||||
|
|
|
@ -65,6 +65,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
|
|
||||||
public string Modalitys { get; set; } = string.Empty;
|
public string Modalitys { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public string SignCode { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrialProcessConfig
|
public class TrialProcessConfig
|
||||||
|
@ -109,6 +111,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public int? DigitPlaces { get; set; }
|
public int? DigitPlaces { get; set; }
|
||||||
|
|
||||||
|
public string SignCode { get; set; } = string.Empty;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrialUrgentConfig
|
public class TrialUrgentConfig
|
||||||
|
@ -126,7 +130,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public bool IsPDProgressView { get; set; }
|
public bool IsPDProgressView { get; set; }
|
||||||
|
|
||||||
|
public string SignCode { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrialStateChangeDTO
|
public class TrialStateChangeDTO
|
||||||
|
@ -153,7 +157,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public string UserRealName { get; set; } = String.Empty;
|
public string UserRealName { get; set; } = String.Empty;
|
||||||
|
|
||||||
|
public string SignCode { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue