医生生成账号修改
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-12-31 09:42:24 +08:00
parent c9c38b5053
commit 2b6ae95160
3 changed files with 4 additions and 5 deletions
@@ -405,7 +405,6 @@ namespace IRaCIS.Core.Application.Service
{
if (confirmReviewerCommand.DoctorIdArray.Contains(intoGroupItem.DoctorId))
{
//当邮件发送没有问题的时候,才修改状态 如果有问题,就当前不做处理
try
{
@@ -435,7 +434,7 @@ namespace IRaCIS.Core.Application.Service
}
await _userRoleRepository.BatchUpdateNoTrackingAsync(t => t.Id == userRoleId, u => new UserRole() { DoctorId = intoGroupItem.DoctorId });
await _enrollRepository.BatchUpdateNoTrackingAsync(t => t.Id == intoGroupItem.Id, u => new Enroll() { DoctorUserId = userRoleId });
if (!await _taskAllocationRuleRepository.AnyAsync(t => t.TrialId == trialId && t.DoctorUserId == userRoleId && t.EnrollId == intoGroupItem.Id, true))