You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.2 KiB
62 lines
1.2 KiB
package com.ruoyi.booksystem.service;
|
|
|
|
import java.util.List;
|
|
import com.ruoyi.booksystem.domain.Account;
|
|
|
|
/**
|
|
* 交易账户Service接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2023-12-18
|
|
*/
|
|
public interface IAccountService
|
|
{
|
|
/**
|
|
* 查询交易账户
|
|
*
|
|
* @param id 交易账户主键
|
|
* @return 交易账户
|
|
*/
|
|
public Account selectAccountById(Long id);
|
|
|
|
/**
|
|
* 查询交易账户列表
|
|
*
|
|
* @param account 交易账户
|
|
* @return 交易账户集合
|
|
*/
|
|
public List<Account> selectAccountList(Account account);
|
|
|
|
/**
|
|
* 新增交易账户
|
|
*
|
|
* @param account 交易账户
|
|
* @return 结果
|
|
*/
|
|
public int insertAccount(Account account);
|
|
|
|
/**
|
|
* 修改交易账户
|
|
*
|
|
* @param account 交易账户
|
|
* @return 结果
|
|
*/
|
|
public int updateAccount(Account account);
|
|
|
|
/**
|
|
* 批量删除交易账户
|
|
*
|
|
* @param ids 需要删除的交易账户主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteAccountByIds(Long[] ids);
|
|
|
|
/**
|
|
* 删除交易账户信息
|
|
*
|
|
* @param id 交易账户主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteAccountById(Long id);
|
|
}
|