Uat_Study
parent
bea5ee827b
commit
121b3a09ec
|
@ -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();
|
||||
|
|
|
@ -75,20 +75,20 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// 对应
|
||||
/// </summary>
|
||||
[ForeignKey("ReadModuleId")]
|
||||
public ReadModule ReadModuleModel { get; set; } = new ReadModule();
|
||||
public ReadModule ReadModuleModel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阅片期配置
|
||||
/// </summary>
|
||||
[ForeignKey("ReadingPeriodSetId")]
|
||||
public ReadingPeriodSet ReadingPeriodSet { get; set; } = new ReadingPeriodSet();
|
||||
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 访视
|
||||
/// </summary>
|
||||
[ForeignKey("SubjectVisitId")]
|
||||
public SubjectVisit SubjectVisit { get; set; } = new SubjectVisit();
|
||||
public SubjectVisit SubjectVisit { get; set; }
|
||||
|
||||
|
||||
|
||||
|
@ -96,7 +96,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// 访视
|
||||
/// </summary>
|
||||
[ForeignKey("LastVisitIdSetId")]
|
||||
public SubjectVisit LastSubjectVisit { get; set; } = new SubjectVisit();
|
||||
public SubjectVisit LastSubjectVisit { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue