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);
|
|
}
|