Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
hang 2025-07-02 10:20:26 +08:00
commit 485e1359a9
2 changed files with 10 additions and 3 deletions

View File

@ -157,16 +157,16 @@ public class ReadingQuestionTrial : BaseAddAuditEntity
public Guid? SystemParentId { get; set; }
[Comment("答案分组")]
public string AnswerGroup { get; set; } = string.Empty;
public string AnswerGroup { get; set; } = "[]";
[Comment("答案组合")]
public string AnswerCombination { get; set; } = string.Empty;
public string AnswerCombination { get; set; } = "[]";
[Comment("裁判类型")]
public JudgeTypeEnum JudgeType { get; set; } = JudgeTypeEnum.AnswerDisaffinity;
[Comment("裁判百分比或绝对值的相差值")]
public decimal? JudgeDifferenceValue { get; set; }
public decimal? JudgeDifferenceValue { get; set; } = 0;
[Comment("裁判百分比或绝对值的相差值匹配规则")]
public JudgeDifferenceType JudgeDifferenceType { get; set; }

View File

@ -200,15 +200,22 @@ namespace IRaCIS.Core.Infra.EFCore.Common
break;
}
var trialDicomAE =await _dbContext.TrialDicomAE.Where(t => t.TrialId == entity.Id).FirstOrDefaultAsync();
await InsertInspection<Trial>(item.Entity as Trial, type, x => new InspectionConvertDTO()
{
TrialId = x.Id,
ExtraIndentification = extraIdentification,
}, new
{
//TrialDicList = string.Join(",", trialDics)
CalledAE = trialDicomAE?.CalledAE,
IP = trialDicomAE?.IP,
Port = trialDicomAE?.Port,
IsTestOK = trialDicomAE?.IsTestOK,
ImageFormatListStr = string.Join("|", entity.ImageFormatList),
StudyNamesStr = string.Join("|", entity.StudyNameList.Where(x => x.IsChoose).Select(x => _userInfo.IsEn_Us ? x.EnName : x.Name)),