Administrator
2025-04-21 a217652d33c75df23202828000d82d0ca8555ac2
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
85
86
87
88
89
90
91
92
93
94
95
package com.taoke.autopay.service;
 
import com.taoke.autopay.dao.ClientInfoMapper;
import com.taoke.autopay.entity.ClientInfo;
import com.taoke.autopay.exception.LoginException;
 
import java.util.Date;
import java.util.List;
 
/**
 * @author hxh
 * @title: ClientInfoService
 * @description: 客户端信息服务
 * @date 2024/6/14 18:43
 */
public interface ClientInfoService {
 
 
    /**
     * @return com.taoke.autopay.entity.ClientInfo
     * @author hxh
     * @description 登录
     * @date 18:45 2024/6/14
     * @param: account
     * @param: pwd
     **/
    public ClientInfo login(String account, String pwd) throws LoginException;
 
 
 
    /**
     * @author hxh 
     * @description 退出登录
     * @date 16:49 2024/6/18
     * @param: uid
     * @return com.taoke.autopay.entity.ClientInfo
     **/
    public void logout(Long uid);
 
    /**
     * @author hxh 
     * @description /根据主键查询
     * @date 18:47 2024/6/14
     * @param: id
     * @return com.taoke.autopay.entity.ClientInfo
     **/
    public ClientInfo selectByPrimaryKey(Long id);
 
    
    /**
     * @author hxh 
     * @description 设置活跃时间
     * @date 18:56 2024/6/14
     * @param: id
     * @param: date
     * @return void
     **/
    public void setActiveTime(Long id, Date date);
 
    public List<ClientInfo> listByIds(List<Long> ids);
 
 
    public  List<ClientInfo> list(ClientInfoMapper.DaoQuery query);
 
    public  long count(ClientInfoMapper.DaoQuery query);
 
    /**
     * @author hxh 
     * @description 添加账号
     * @date 15:40 2024/7/26
     * @param: info
     * @return void
     **/
    public void add(ClientInfo info);
 
    /**
     * @author hxh 
     * @description 设置密码
     * @date 15:40 2024/7/26
     * @param: id
     * @param: pwd
     * @return void
     **/
    public void setPwd(Long id,String pwd);
 
    /**
     * @author hxh 
     * @description 获取可以重新分配支付的设备
     * @date 18:15 2024/7/30
     * @return java.util.List<java.lang.Long>
     **/
    public List<Long> getRePayClientIds();
 
 
}