增加创建项目调研默认值
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
89546b9874
commit
376dcc5bd5
|
|
@ -16149,6 +16149,11 @@
|
||||||
<param name="modelVerify"></param>
|
<param name="modelVerify"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:IRaCIS.Core.Application.Service.TestService.SubjectVisitExcel">
|
||||||
|
<summary>
|
||||||
|
访视数据模型
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.TestService.MaskImage">
|
<member name="M:IRaCIS.Core.Application.Service.TestService.MaskImage">
|
||||||
<summary>
|
<summary>
|
||||||
遮挡影像
|
遮挡影像
|
||||||
|
|
|
||||||
|
|
@ -273,7 +273,11 @@ namespace IRaCIS.Core.Application.Service
|
||||||
new SiteSurveyEquipmentField() { FiledName = "ScannerType", ShowOrder = 5, IsView = true },
|
new SiteSurveyEquipmentField() { FiledName = "ScannerType", ShowOrder = 5, IsView = true },
|
||||||
|
|
||||||
new SiteSurveyEquipmentField() { FiledName = "Note", ShowOrder = 6, IsView = true },
|
new SiteSurveyEquipmentField() { FiledName = "Note", ShowOrder = 6, IsView = true },
|
||||||
}
|
|
||||||
|
|
||||||
|
},
|
||||||
|
NotShowFieldList = new List<string>() { "IsRoutineMRIPDEE", "MRIPDFFScanTime", "MRIPDFFLeadTime", "MRIPDFFOther", "IsAuthorizeRadiologistsParticipate", "AssignFixedTechnologists", "ISStrictManualBurnFlag", "NotStrictManualBurnFlagReason" };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
trial.TrialExtraConfigJsonStr = trialExtalConfig.ToJsonStr();
|
trial.TrialExtraConfigJsonStr = trialExtalConfig.ToJsonStr();
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
/// <param name="modelVerify"></param>
|
/// <param name="modelVerify"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpPost("{email}")]
|
[HttpPost]
|
||||||
public async Task<IResponseOutput> SiteSuveryEquipment()
|
public async Task<IResponseOutput> SiteSuveryEquipment()
|
||||||
{
|
{
|
||||||
//默认配置
|
//默认配置
|
||||||
|
|
@ -195,6 +195,47 @@ namespace IRaCIS.Core.Application.Service
|
||||||
return ResponseOutput.Ok();
|
return ResponseOutput.Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 访视数据模型
|
||||||
|
/// </summary>
|
||||||
|
public class SubjectVisitExcel
|
||||||
|
{
|
||||||
|
public string SubjectCode { get; set; }
|
||||||
|
|
||||||
|
public Guid? SubjectVisitId { get; set; }
|
||||||
|
public decimal VisitNum { get; set; }
|
||||||
|
public string VisitName { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
[AllowAnonymous]
|
||||||
|
public async Task<IResponseOutput> ExtralUndownloadImages()
|
||||||
|
{
|
||||||
|
var newVisits = MiniExcel.Query<SubjectVisitExcel>(@"C:\Users\PC\Desktop\New.xlsx").ToList();
|
||||||
|
|
||||||
|
var oldVisits = MiniExcel.Query<SubjectVisitExcel>(@"C:\Users\PC\Desktop\Old.xlsx").ToList();
|
||||||
|
|
||||||
|
var downloadVisit = new List<SubjectVisitExcel>();
|
||||||
|
|
||||||
|
foreach (var item in newVisits)
|
||||||
|
{
|
||||||
|
if (oldVisits.Any(t => t.VisitNum == item.VisitNum && t.SubjectCode == item.SubjectCode))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
downloadVisit.Add(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
string exportPath = @$"C:\Users\PC\Desktop\newDownload.xlsx";
|
||||||
|
MiniExcel.SaveAs(exportPath, downloadVisit);
|
||||||
|
|
||||||
|
return ResponseOutput.Ok(downloadVisit);
|
||||||
|
}
|
||||||
|
|
||||||
//创建一个模型验证的方法
|
//创建一个模型验证的方法
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpPost("{email}")]
|
[HttpPost("{email}")]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue