hjl
2024-06-18 aaa3384609da2dfb7d6788a2a2b3d92a2bff0813
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.ruoyi.admin.service;
 
import com.ruoyi.admin.entity.Agreement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.R;
 
/**
 * <p>
 * 协议政策、司机操作指导 服务类
 * </p>
 *
 * @author hjl
 * @since 2024-05-29
 */
public interface AgreementService extends IService<Agreement> {
 
    /**
     * 根据类型获取注册协议、隐私政策、司机操作指南
     *
     * @param type 查询类型
     * @return 详细信息
     */
    R<Agreement> dataInfo(Integer type);
 
    /**
     * 保存政策协议
     *
     * @param agreement 协议信息
     * @return 保存结果
     */
    R<String> saveData(Agreement agreement);
}