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