Administrator
2024-07-29 a053811c774ac07340e46561f5d2ab4d892282a0
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
package com.taoke.autopay.service.agent;
 
import com.taoke.autopay.dao.agent.ChannelAgentMapper;
import com.taoke.autopay.entity.agent.ChannelAgent;
import com.taoke.autopay.exception.ChannelAgentException;
 
import java.util.List;
 
/**
 * @author hxh
 * @title: ChannelAgentService
 * @description: TODO
 * @date 2024/7/25 22:28
 */
public interface ChannelAgentService {
 
 
    /**
     * @author hxh 
     * @description 添加渠道信息
     * @date 22:31 2024/7/25
     * @param: agent
     * @return void
     **/
    public ChannelAgent addChannelAgent(ChannelAgent agent) throws ChannelAgentException;
 
    /**
     * @author hxh
     * @description 设置支付宝账号
     * @date 22:33 2024/7/25
     * @param: agengId
     * @param: name
     * @param: account
     * @return void
     **/
    public void setAlipayAccount(Long agengId,String name,String account) throws ChannelAgentException;
 
 
    public ChannelAgent selectByPrimaryKey(Long agengId);
 
    public void updateSelective(ChannelAgent agent);
 
    public List<ChannelAgent> list(ChannelAgentMapper.DaoQuery query);
 
    public long count(ChannelAgentMapper.DaoQuery query);
 
    public void delete(Long id);
 
    public ChannelAgent login(String account,String pwd) throws  ChannelAgentException;
 
    public ChannelAgent selectByAlias(String alias);
 
}