Test.EIImageViewer
he 2023-01-16 12:08:17 +08:00
commit 99f9d48ae4
2 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,7 @@ using IRaCIS.Core.Application.Service.Inspection.DTO;
using Panda.DynamicWebApi.Attributes;
using Microsoft.Extensions.DependencyInjection;
using System.Linq.Expressions;
using IRaCIS.Core.Infrastructure;
namespace IRaCIS.Application.Services
{
@ -261,8 +262,14 @@ namespace IRaCIS.Application.Services
public async Task<IResponseOutput> ReadClinicalDataSign(ReadingClinicalDataSignIndto inDto)
{
var data = await _readingClinicalDataRepository.FirstOrDefaultAsync(t => t.Id == inDto.ReadingClinicalDataId);
if (data.ReadingClinicalDataState == ReadingClinicalDataStatus.HaveChecked)
{
throw new BusinessValidationFailedException("当前临床数据状态不是已核查状态,不允许签名!");
}
data.IsSign = true;
data.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveSigned;

View File

@ -414,7 +414,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common
ObjectRelationParentId = entity.TrialCriterionId,
ExtraIndentification=extraIdentification
ObjectRelationParentId2 = entity.OrganInfoId,
ExtraIndentification =extraIdentification
});
}