From 4fe61ac51a3d729b57b64dcad4dc6ce41dd2e2f0 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Mon, 23 Dec 2024 17:01:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0=E5=8F=82=E6=96=B9?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/Service/Management/UserService.cs | 1 +
IRaCIS.Core.Application/TestService.cs | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs
index 8acf32cc5..ec507f025 100644
--- a/IRaCIS.Core.Application/Service/Management/UserService.cs
+++ b/IRaCIS.Core.Application/Service/Management/UserService.cs
@@ -1093,6 +1093,7 @@ namespace IRaCIS.Core.Application.Service
///
///
///
+ [HttpGet]
public async Task LoginSelectUserRole(Guid userTypeId, [FromServices] ITokenService _tokenService)
{
var identityUserId = _userInfo.IdentityUserId;
diff --git a/IRaCIS.Core.Application/TestService.cs b/IRaCIS.Core.Application/TestService.cs
index 8c1466cc9..c50b2e95f 100644
--- a/IRaCIS.Core.Application/TestService.cs
+++ b/IRaCIS.Core.Application/TestService.cs
@@ -160,7 +160,7 @@ namespace IRaCIS.Core.Application.Service
public async Task UserMutiAccount()
{
- var userList = _userRepository.Where().Select(t => new { t.Id, t.EMail,t.DoctorId }).ToList();
+ var userList = _userRepository.Where().Select(t => new { t.Id, t.EMail, t.DoctorId }).ToList();
foreach (var item in userList.GroupBy(t => t.EMail.Trim()))
{
@@ -168,7 +168,7 @@ namespace IRaCIS.Core.Application.Service
var doctorId = item.Select(t => t.DoctorId).First();
- await _userRepository.BatchUpdateNoTrackingAsync(t => emailUserIdList.Contains(t.Id), u => new User() { IdentityUserId = NewId.NextSequentialGuid(),DoctorId=doctorId });
+ await _userRepository.BatchUpdateNoTrackingAsync(t => emailUserIdList.Contains(t.Id), u => new User() { IdentityUserId = NewId.NextSequentialGuid(), DoctorId = doctorId });
}
return ResponseOutput.Ok();