From 80f6c17c34dae2c5f9f861e274f4e8d5e2394d5c Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 25 二月 2026 18:00:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/XpAgreementService.java | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/XpAgreementService.java b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/XpAgreementService.java
index f067efd..c5f7cfd 100644
--- a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/XpAgreementService.java
+++ b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/XpAgreementService.java
@@ -3,8 +3,10 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaopeng.api.model.operation.XpAgreement;
+import com.xiaopeng.operation.dto.XpAgreementDTO;
import com.xiaopeng.operation.vo.XpAgreementVo;
+import javax.validation.Valid;
import java.util.List;
/**
@@ -29,6 +31,16 @@
*/
List<XpAgreementVo> getContentByTypeAll();
+ /**
+ * 根据类型获取配置
+ * @param type
+ * @return
+ */
+ XpAgreement getAgreementContent(Integer type);
-
+ /**
+ * 保存协议
+ * @param dto
+ */
+ void saveAgreement(@Valid XpAgreementDTO dto);
}
--
Gitblit v1.7.1