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
package com.xiaopeng.operation.service;
 
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaopeng.api.model.operation.XpSystemSetting;
 
/**
 * <p>
 * 系统设置表 服务类
 * </p>
 *
 * @author liu
 * @since 2026-02-03
 */
public interface XpSystemSettingService extends IService<XpSystemSetting> {
 
 
    /**
     * 获取客服电话
     */
    String getCustomerServicePhone();
 
    /**
     * 获取距离点X米内可下单
     * @return
     */
    Integer getOrderDistance();
 
    /**
     * 获取起终点最小下单距离
     * @return
     */
    Integer getMinOrderDistance();
 
 
    /**
     * 获取自动结束行程时间
     * @return
     */
    Integer getOrderFinishTime();
 
    XpSystemSetting getSystemSettingOne();
 
    /**
     * 保存系统配置、热修复
     * @param xpSystemSetting
     */
    void saveSystemSetting(XpSystemSetting xpSystemSetting);
}