去除报告缓存
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4c396dc4ae
commit
38a42dc44f
|
|
@ -188,7 +188,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
public async Task<string> GetVisitReadReportUrl(CaGetVisitReadReportUrl inDto)
|
public async Task<string> GetVisitReadReportUrl(CaGetVisitReadReportUrl inDto)
|
||||||
{
|
{
|
||||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.Subject).Include(x => x.SourceSubjectVisit).FirstNotNullAsync();
|
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.Subject).Include(x => x.SourceSubjectVisit).FirstNotNullAsync();
|
||||||
if (taskinfo.ReportExportUrl != string.Empty)
|
var iscache = false;
|
||||||
|
if (iscache && taskinfo.ReportExportUrl != string.Empty)
|
||||||
{
|
{
|
||||||
return taskinfo.ReportExportUrl;
|
return taskinfo.ReportExportUrl;
|
||||||
}
|
}
|
||||||
|
|
@ -242,7 +243,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
public async Task<string> GetTumorEvaluationReportUrl(CaGetVisitReadReportUrl inDto)
|
public async Task<string> GetTumorEvaluationReportUrl(CaGetVisitReadReportUrl inDto)
|
||||||
{
|
{
|
||||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.Subject).Include(x => x.SourceSubjectVisit).FirstNotNullAsync();
|
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.Subject).Include(x => x.SourceSubjectVisit).FirstNotNullAsync();
|
||||||
if (taskinfo.TumorEvaluationUrl != string.Empty)
|
var iscache = false;
|
||||||
|
if (iscache&&taskinfo.TumorEvaluationUrl != string.Empty)
|
||||||
{
|
{
|
||||||
return taskinfo.TumorEvaluationUrl;
|
return taskinfo.TumorEvaluationUrl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue