From e5e2a0394b363228c1aab45c22bd201ef120923c Mon Sep 17 00:00:00 2001
From: he <109787524@qq.com>
Date: Mon, 20 Oct 2025 17:34:34 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=9A=90=E7=A7=81=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 2 +-
.../Service/Document/DTO/UserAgreementViewModel.cs | 2 +-
.../Service/Document/UserAgreementService.cs | 2 +-
IRaCIS.Core.Domain/Management/UserAgreement.cs | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
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; }