diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs index ea2b17a0d..28fef0344 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/GetReadModuleDto.cs @@ -80,7 +80,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// /// 模块名称 /// - public string ModuleName { get; set; } + public string Name { 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 9c43b2430..df4abf28e 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadModuleService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadModuleService.cs @@ -117,7 +117,7 @@ namespace IRaCIS.Application.Services { await _readModuleRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.Id, x => new ReadModule() { SubjectVisitId=inDto.SubjectVisitIdId, - ModuleName=inDto.ModuleName, + ModuleName=inDto.Name, }); return await _readModuleRepository.SaveChangesAsync();