This commit is contained in:
@@ -123,6 +123,11 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||
#endregion
|
||||
|
||||
|
||||
public class DataInspectionDto<T> : InspectionBase, IInspectionDTO, ISignDTO
|
||||
{
|
||||
public T OptCommand { get; set; }
|
||||
}
|
||||
|
||||
#region 受试者
|
||||
public class InsSubjectCommand : InspectionBase, IInspectionDTO, ISignDTO
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace IRaCIS.Core.Application.Interfaces
|
||||
{
|
||||
public interface ISubjectVisitService
|
||||
{
|
||||
Task<IResponseOutput> AddOrUpdateSV(SubjectVisitCommand svCommand);
|
||||
Task<IResponseOutput<string>> AddOrUpdateSV(SubjectVisitCommand svCommand);
|
||||
Task<IResponseOutput> DeleteSV(Guid id);
|
||||
Task<List<VisitStudyDTO>> GetVisitStudyList(Guid trialId, Guid sujectVisitId, int isReading);
|
||||
Task<IResponseOutput> SetSVExecuted(Guid subjectVisitId);
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
[HttpPost]
|
||||
[TypeFilter(typeof(TrialResourceFilter))]
|
||||
[UnitOfWork]
|
||||
public async Task<IResponseOutput> AddOrUpdateSV(SubjectVisitCommand svCommand)
|
||||
public async Task<IResponseOutput<string>> AddOrUpdateSV(SubjectVisitCommand svCommand)
|
||||
{
|
||||
|
||||
var verifyExp1 = new EntityVerifyExp<SubjectVisit>()
|
||||
@@ -178,7 +178,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
return ResponseOutput.Ok(needDealEntity.Id.ToString());
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user