diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs index 5149bda7e..1b03e06fa 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs @@ -75,6 +75,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public Guid SubjectVisitIdId { get; set; } + + /// + /// 模块名称 + /// + public string ModuleName { get; set; } } public class GetSubjectReadVisitsInDto diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadModuleService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadModuleService.cs index 53ed4f94d..8c49a9d10 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadModuleService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadModuleService.cs @@ -116,7 +116,8 @@ namespace IRaCIS.Application.Services public async Task ChangeCutOffVisit(ChangeCutOffVisitInDto inDto) { await _readModuleRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.Id, x => new ReadModule() { - SubjectVisitId=inDto.SubjectVisitIdId + SubjectVisitId=inDto.SubjectVisitIdId, + ModuleName=inDto.ModuleName, }); return await _readModuleRepository.SaveChangesAsync();