添加工作单元

Uat_Study
he 2022-04-08 10:38:30 +08:00
parent 3a5d1abba4
commit 10bc94f9fd
1 changed files with 7 additions and 4 deletions

View File

@ -77,7 +77,7 @@ namespace IRaCIS.Core.API.Controllers
#region 访视
[HttpPost, Route("Inspection/subjectVisit/addOrUpdateSV")]
[UnitOfWork]
public async Task<IResponseOutput> AddOrUpdateSV(DataInspectionDto<SubjectVisitCommand> opt)
{
@ -96,6 +96,7 @@ namespace IRaCIS.Core.API.Controllers
[HttpPost, Route("Inspection/subjectVisit/SetSubjectVisitUrgent")]
[UnitOfWork]
public async Task<IResponseOutput> SetSubjectVisitUrgent(DataInspectionDto<SetSubjectVisitUrgentCommand> opt)
{
@ -109,6 +110,7 @@ namespace IRaCIS.Core.API.Controllers
[HttpPost, Route("Inspection/subjectVisit/DeleteSV")]
[UnitOfWork]
public async Task<IResponseOutput> DeleteSV(DataInspectionDto<DeleteSVCommand> opt)
{
@ -121,6 +123,7 @@ namespace IRaCIS.Core.API.Controllers
}
[HttpPost, Route("Inspection/subjectVisit/SetSVExecuted")]
[UnitOfWork]
public async Task<IResponseOutput> SetSVExecuted(DataInspectionDto<DeleteSVCommand> opt)
{
@ -141,7 +144,7 @@ namespace IRaCIS.Core.API.Controllers
/// <param name="opt"></param>
/// <returns></returns>
[HttpPost, Route("Inspection/configTrialBasicInfo/configTrialBasicInfo")]
[UnitOfWork]
public async Task<IResponseOutput> ConfigTrialBasicInfo(DataInspectionDto<BasicTrialConfig> opt)
{
var fun = _trialConfigService.ConfigTrialBasicInfo;
@ -154,7 +157,7 @@ namespace IRaCIS.Core.API.Controllers
/// <param name="opt"></param>
/// <returns></returns>
[HttpPost, Route("Inspection/configTrialBasicInfo/configTrialProcessInfo")]
[UnitOfWork]
public async Task<IResponseOutput> ConfigTrialProcessInfo(DataInspectionDto<TrialProcessConfig> opt)
{
var fun = _trialConfigService.ConfigTrialProcessInfo;
@ -167,7 +170,7 @@ namespace IRaCIS.Core.API.Controllers
/// <param name="opt"></param>
/// <returns></returns>
[HttpPost, Route("Inspection/configTrialBasicInfo/ConfigTrialUrgentInfo")]
[UnitOfWork]
public async Task<IResponseOutput> ConfigTrialUrgentInfo(DataInspectionDto<TrialUrgentConfig> opt)
{
var fun = _trialConfigService.ConfigTrialUrgentInfo;