用户增加工作语言,系统文档增加文档适用语言用户

This commit is contained in:
2026-05-12 11:45:55 +08:00
parent 9ee85bfa3c
commit 577f35a3fe
31 changed files with 22500 additions and 45 deletions
@@ -644,6 +644,12 @@ namespace IRaCIS.Core.Application.Service
saveItem.IsTestUser = true;
}
//通过医生信息,设置工作语言
var nation = _doctorTypeRepository.Where(t => t.Id == doctorId).Select(t => t.Nation).FirstOrDefault();
saveItem.UserWorkLanguage = nation == DoctorNation.CN ? UserWorkLanguage.CN : UserWorkLanguage.US;
saveItem.UserCeateSource = UserCeateSource.ReviewerSelect;
saveItem.TrialId = trialId;