修改
This commit is contained in:
@@ -8,6 +8,7 @@ using Microsoft.AspNetCore.Authorization;
|
||||
using IRaCIS.Core.Application.Auth;
|
||||
using IRaCIS.Core.Application.Service.Reading.Dto;
|
||||
using IRaCIS.Core.Domain.Share.Reading;
|
||||
using MassTransit;
|
||||
|
||||
namespace IRaCIS.Application.Services
|
||||
{
|
||||
@@ -174,12 +175,17 @@ namespace IRaCIS.Application.Services
|
||||
{
|
||||
await _readModuleRepository.AddAsync(new ReadModule()
|
||||
{
|
||||
Id= NewId.NextGuid(),
|
||||
SubjectId = dto.SubjectId,
|
||||
ModuleType = ModuleTypeEnum.Read,
|
||||
IsUrgent = visit.IsUrgent,
|
||||
ModuleName = dto.SubjectVisitName,
|
||||
SubjectVisitId = visit.Id,
|
||||
Status = ReadModuleEnum.ImageRead,
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
var res = await _readModuleRepository.SaveChangesAsync();
|
||||
|
||||
Reference in New Issue
Block a user