修改阅片人 产生用户名

This commit is contained in:
2025-01-09 09:27:34 +08:00
parent 75b3a60ca6
commit 8fce9f4bf2
2 changed files with 41 additions and 14 deletions
@@ -587,9 +587,6 @@ namespace IRaCIS.Core.Application.Service
saveItem.UserCode = AppSettings.GetCodeStr(saveItem.Code, nameof(IdentityUser));
saveItem.UserName = saveItem.UserCode;
saveItem.UserRoleList = new List<UserRole>() { new UserRole() { DoctorId = doctorId, UserTypeEnum = UserTypeEnum.IndependentReviewer, UserTypeId = userType.Id } };
var savedUser = await _identityUserRepository.AddAsync(saveItem);