mitao
2024-06-17 444a36ac307d1c9863a5f1dd38368598b089359f
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package com.ruoyi.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.api.domain.CustomConfig;
import com.ruoyi.system.domain.dto.MgtAfterSaleSettingDTO;
import com.ruoyi.system.domain.dto.PointsConfigDTO;
import com.ruoyi.system.domain.vo.CustomConfigVO;
import java.util.List;
 
/**
 * <p>
 * 系统配置 服务类
 * </p>
 *
 * @author mitao
 * @since 2024-05-21
 */
public interface ICustomConfigService extends IService<CustomConfig> {
 
    /**
     * 保存积分设置
     *
     * @param dto 积分配置数据传输对象
     */
    void savePointsSettings(PointsConfigDTO dto);
 
 
    /**
     * 获取积分设置
     *
     * @return List<CustomConfig>
     */
    List<CustomConfigVO> getPointsConfig();
 
    /**
     * 获取订单说明设置
     *
     * @return CustomConfigVO
     */
    CustomConfigVO getOrderDesc();
 
    /**
     * 订单说明设置
     *
     * @param description 订单说明
     */
    void saveOrderDescription(String description);
 
    /**
     * 售后设置
     *
     * @param dto 售后设置对象
     */
    void saveAfterSaleSetting(MgtAfterSaleSettingDTO dto);
 
    /**
     * 获取售后设置
     *
     * @return List<CustomConfigVO>
     */
    List<CustomConfigVO> getAfterSaleSetting();
}