diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index fb91087f4..6e7754288 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -2002,7 +2002,7 @@ - + 设置为当前版本 diff --git a/IRaCIS.Core.Application/Service/Document/DTO/UserAgreementViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/UserAgreementViewModel.cs index fa21b5ca0..5df34eb16 100644 --- a/IRaCIS.Core.Application/Service/Document/DTO/UserAgreementViewModel.cs +++ b/IRaCIS.Core.Application/Service/Document/DTO/UserAgreementViewModel.cs @@ -39,7 +39,7 @@ public class UserAgreementAddOrEdit } -public class SetCurrentVersionInDto +public class SetUserAgreementCurrentVersionInDto { public Guid Id { get; set; } } diff --git a/IRaCIS.Core.Application/Service/Document/UserAgreementService.cs b/IRaCIS.Core.Application/Service/Document/UserAgreementService.cs index e5d58a62a..63b171c79 100644 --- a/IRaCIS.Core.Application/Service/Document/UserAgreementService.cs +++ b/IRaCIS.Core.Application/Service/Document/UserAgreementService.cs @@ -56,7 +56,7 @@ public class UserAgreementService(IRepository _userAgreementRepos /// /// [HttpPost] - public async Task SetCurrentVersion(SetCurrentVersionInDto inDto) + public async Task SetCurrentVersion(SetUserAgreementCurrentVersionInDto inDto) { var userAgreement=await _userAgreementRepository.Where(x=>x.Id==inDto.Id).FirstNotNullAsync(); await _userAgreementRepository.UpdatePartialFromQueryAsync( diff --git a/IRaCIS.Core.Domain/Management/UserAgreement.cs b/IRaCIS.Core.Domain/Management/UserAgreement.cs index a9903bd58..b15d1e362 100644 --- a/IRaCIS.Core.Domain/Management/UserAgreement.cs +++ b/IRaCIS.Core.Domain/Management/UserAgreement.cs @@ -8,7 +8,7 @@ public class UserAgreement : BaseFullAuditEntity { /// - /// 文件类型 + /// 文件类型 字典 UserAgreementType /// public UserAgreementType UserAgreementTypeEnum { get; set; }