wlzboy
2025-09-21 b5b16a26de0d84d7b5fb69b584377bdc3582e3ab
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package com.ruoyi.system.service;
 
import java.util.List;
import com.ruoyi.system.domain.SysGpsConfig;
import java.util.Date;
 
/**
 * GPS配置Service接口
 */
public interface IGpsConfigService {
    /**
     * 查询GPS配置
     * 
     * @param configId GPS配置主键
     * @return GPS配置
     */
    public SysGpsConfig selectGpsConfigById(Long configId);
 
    /**
     * 查询GPS配置列表
     * 
     * @param gpsConfig GPS配置
     * @return GPS配置集合
     */
    public List<SysGpsConfig> selectGpsConfigList(SysGpsConfig gpsConfig);
 
    /**
     * 新增GPS配置
     * 
     * @param gpsConfig GPS配置
     * @return 结果
     */
    public int insertGpsConfig(SysGpsConfig gpsConfig);
 
    /**
     * 修改GPS配置
     * 
     * @param gpsConfig GPS配置
     * @return 结果
     */
    public int updateGpsConfig(SysGpsConfig gpsConfig);
 
    /**
     * 批量删除GPS配置
     * 
     * @param configIds 需要删除的GPS配置主键集合
     * @return 结果
     */
    public int deleteGpsConfigByIds(Long[] configIds);
 
    /**
     * 删除GPS配置信息
     * 
     * @param configId GPS配置主键
     * @return 结果
     */
    public int deleteGpsConfigById(Long configId);
 
    /**
     * 根据key查询配置
     * 
     * @param configKey 配置键值
     * @return GPS配置
     */
    public SysGpsConfig selectGpsConfigByKey(String configKey);
 
    /**
     * 获取有效的token
     * 
     * @param configKey 配置键值
     * @return token
     */
    public String getValidToken(String configKey);
 
    /**
     * 更新token和有效期
     * 
     * @param configKey 配置键值
     * @param token 新的token
     * @param expireTime token过期时间
     * @return 更新结果
     */
    public int updateToken(String configKey, String token,Integer serviceid, Date expireTime);