稽查修改
This commit is contained in:
@@ -3110,13 +3110,6 @@
|
||||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Core.Application.Service.OrganInfoService.SetOrganIsEnable(IRaCIS.Core.Application.ViewModel.SetOrganIsEnableInDto)">
|
||||
<summary>
|
||||
设置项目器官是否生效
|
||||
</summary>
|
||||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:IRaCIS.Core.Application.Service.ReadingMedicalReviewService">
|
||||
<summary>
|
||||
阅片医学审核
|
||||
@@ -3660,6 +3653,16 @@
|
||||
是否关联
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.GetTrialOrganListOutDto.NidusType">
|
||||
<summary>
|
||||
病灶类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.GetTrialOrganListOutDto.NidusTypeCN">
|
||||
<summary>
|
||||
病灶类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.GetTrialOrganListOutDto.Remark">
|
||||
<summary>
|
||||
备注
|
||||
|
||||
@@ -494,6 +494,10 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||
/// </summary>
|
||||
public Guid? BatchId { get; set; }
|
||||
|
||||
public DateTime? RelationDeadlineTime { get; set; }
|
||||
|
||||
public Guid? ObjectRelationParentId { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -136,7 +136,8 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
};
|
||||
|
||||
query = query.WhereIf(dto.SiteId != null, x => x.SiteId == dto.SiteId)
|
||||
.WhereIf(dto.BatchId != null, x => x.BatchId == dto.BatchId)
|
||||
//.WhereIf(dto.BatchId != null, x => x.BatchId == dto.BatchId)
|
||||
.WhereIf(dto.ObjectRelationParentId != null && dto.BatchId!=null && dto.RelationDeadlineTime!=null, x => (x.ObjectRelationParentId == dto.ObjectRelationParentId && x.CreateTime<= dto.RelationDeadlineTime) ||x.BatchId==dto.BatchId )
|
||||
.WhereIf(!dto.SubjectInfo.IsNullOrEmpty(), x => x.SubjectCode.Contains(dto.SubjectInfo))
|
||||
//.WhereIf(dto.VisitPlanInfo != null&& dto.VisitPlanInfo!=(decimal) 1.11, x => x.VisitNum == dto.VisitPlanInfo)
|
||||
//.WhereIf(dto.VisitPlanInfo != (decimal)1.11,x=>x.InPlan!=null&& x.InPlan==false)
|
||||
|
||||
@@ -382,6 +382,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
/// </summary>
|
||||
public bool? IsComplete { get; set; }
|
||||
|
||||
|
||||
//临床数据状态
|
||||
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件数量
|
||||
/// </summary>
|
||||
|
||||
@@ -96,6 +96,8 @@ namespace IRaCIS.Application.Services
|
||||
ClinicalDataLevel = clinicalDataTrialSet.ClinicalDataLevel,
|
||||
ReadingId = indto.ReadingId
|
||||
}).ToList();
|
||||
|
||||
entity.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded;
|
||||
await _readingClinicalDataRepository.AddAsync(entity, true);
|
||||
var success = await _readingClinicalDataRepository.SaveChangesAsync();
|
||||
return ResponseOutput.Ok(entity.Id);
|
||||
@@ -118,6 +120,7 @@ namespace IRaCIS.Application.Services
|
||||
ReadingId = indto.ReadingId,
|
||||
ReadingClinicalDataId = entity.Id,
|
||||
}).ToList();
|
||||
entity.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded;
|
||||
await _readingClinicalDataPDFRepository.AddRangeAsync(addFileList);
|
||||
var success = await _readingClinicalDataRepository.SaveChangesAsync();
|
||||
return ResponseOutput.Ok(entity.Id);
|
||||
@@ -229,6 +232,7 @@ namespace IRaCIS.Application.Services
|
||||
{
|
||||
|
||||
await _readingClinicalDataRepository.DeleteFromQueryAsync(x => x.Id == id, true);
|
||||
await _readingClinicalDataPDFRepository.DeleteFromQueryAsync(x => x.ReadingClinicalDataId == id, true);
|
||||
return ResponseOutput.Result(true);
|
||||
}
|
||||
|
||||
@@ -295,7 +299,8 @@ namespace IRaCIS.Application.Services
|
||||
{
|
||||
await _readingClinicalDataRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.ReadingClinicalDataId, x => new ReadingClinicalData()
|
||||
{
|
||||
IsSign = true
|
||||
IsSign = true,
|
||||
ReadingClinicalDataState=ReadingClinicalDataStatus.HaveSigned
|
||||
});
|
||||
|
||||
var result = await _readingClinicalDataRepository.SaveChangesAsync();
|
||||
@@ -448,10 +453,11 @@ namespace IRaCIS.Application.Services
|
||||
[HttpPut]
|
||||
public async Task<IResponseOutput> PMClinicalDataConfirm(PMClinicalDataConfirmCommand command)
|
||||
{
|
||||
await _readingClinicalDataRepository.BatchUpdateNoTrackingAsync(t => t.Id == command.Id, u => new ReadingClinicalData()
|
||||
await _readingClinicalDataRepository.UpdatePartialFromQueryAsync(t => t.Id == command.Id, u => new ReadingClinicalData()
|
||||
{
|
||||
IsBlind=command.IsBlind,
|
||||
IsComplete=command.IsComplete
|
||||
IsComplete=command.IsComplete,
|
||||
ReadingClinicalDataState=ReadingClinicalDataStatus.HaveChecked
|
||||
});
|
||||
await _readingClinicalDataRepository.SaveChangesAsync();
|
||||
|
||||
@@ -480,6 +486,9 @@ namespace IRaCIS.Application.Services
|
||||
IsCRCUpload = x.ClinicalDataTrialSet.UploadRole == UploadRole.CRC,
|
||||
IsBlind=x.IsBlind,
|
||||
IsComplete=x.IsComplete,
|
||||
|
||||
ReadingClinicalDataState=x.ReadingClinicalDataState,
|
||||
|
||||
FileList = x.ReadingClinicalDataPDFList.Select(y => new GetFileDto()
|
||||
{
|
||||
Id = y.Id,
|
||||
|
||||
Reference in New Issue
Block a user