From 13978ae9ed56ec816823c74589e4c6745f184dff Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期三, 25 二月 2026 17:18:23 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/Robotaxi

---
 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