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
he 2025-02-11 14:38:09 +08:00
commit a5dcad1767
6 changed files with 22 additions and 5 deletions

View File

@ -300,6 +300,17 @@ public static class ExcelExportHelper
{
public Guid Id { get; set; }
public string Name { get; set; }
public override bool Equals(object obj)
{
if (obj is not ColumItem other) return false;
return Id == other.Id && Name == other.Name;
}
public override int GetHashCode()
{
return HashCode.Combine(Id, Name);
}
}
public List<string> ColumnIdList => ColumnIdNameList == null ? new List<string>() : ColumnIdNameList.Select(t => t.Id.ToString()).ToList();

View File

@ -121,7 +121,9 @@ namespace IRaCIS.Core.Application.ViewModel
public class InternationalizationSimpleDto : BatchInternationalizationDto
{
public string Version { get; set; }
public DateTime CreateTime { get; set; }
}
public class BatchUpdateInfoCommand

View File

@ -2400,7 +2400,7 @@ namespace IRaCIS.Core.Application.Service.Common
{
Id = Guid.Empty,
Name = (t.QuestionType == QuestionType.ExistDisease || t.QuestionType == QuestionType.Tumor) ? (_userInfo.IsEn_Us ? "Overall Response" : "整体肿瘤评估") : t.QuestionName
}).ToList();
}).Distinct().ToList();
@ -2413,7 +2413,7 @@ namespace IRaCIS.Core.Application.Service.Common
{
Id = Guid.Empty,
Name = (t.QuestionType == QuestionType.ExistDisease || t.QuestionType == QuestionType.ImgOncology) ? (_userInfo.IsEn_Us ? "Overall Response" : "整体肿瘤评估") : t.QuestionName
}).ToList();
}).Distinct().ToList();
}
else if (criterion.CriterionType == CriterionType.PCWG3)
@ -2422,7 +2422,7 @@ namespace IRaCIS.Core.Application.Service.Common
{
Id = Guid.Empty,
Name = t.QuestionName
}).ToList();
}).Distinct().ToList();
}

View File

@ -45,6 +45,10 @@ namespace IRaCIS.Core.Application.Service
ValueCN = t.ValueCN,
FrontType = t.FrontType,
Description = t.Description,
Module=t.Module,
State = t.State,
Version=t.PublishLog.Version,
CreateTime = t.CreateTime,
}).ToListAsync();
await _fusionCache.SetAsync<List<InternationalizationSimpleDto>>(CacheKeys.FrontInternational, list, TimeSpan.FromDays(1));

View File

@ -810,7 +810,7 @@ namespace IRaCIS.Core.Application.Service
{
//删除验证码历史记录
await _verificationCodeRepository.BatchDeleteNoTrackingAsync(t => t.Id == verificationRecord.Id);
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionUserName = _userInfo.UserName, TargetIdentityUserId = identityUserId, OptType = UserOptType.MFALogin }, true);
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionUserName = _userInfo.UserName, ActionIdentityUserId = identityUserId, OptType = UserOptType.MFALogin }, true);
}
}

View File

@ -264,7 +264,7 @@ namespace IRaCIS.Core.Application.Image.QA
sv.CheckChallengeState = CheckChanllengeTypeEnum.CRCWaitPMReply;
}
else if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt != (int)UserTypeEnum.APM)
else if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM)
{
sv.CheckChallengeState = CheckChanllengeTypeEnum.PMWaitCRCReply;
}