89 lines
2.3 KiB
Java
89 lines
2.3 KiB
Java
package com.ruoyi.system.service;
|
|
import java.util.Map;
|
|
import java.util.List;
|
|
import com.ruoyi.system.domain.Web3Wallet;
|
|
import com.ruoyi.system.domain.Web3WalletPlus;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
|
|
import com.ruoyi.common.select.SelectItem;
|
|
/**
|
|
* 钱包管理Service接口
|
|
*
|
|
* @author luqj
|
|
* @date 2025-11-25
|
|
*/
|
|
public interface IWeb3WalletService extends IService<Web3WalletPlus>
|
|
{
|
|
|
|
/**
|
|
* 查询钱包管理
|
|
*
|
|
* @param id 钱包管理ID
|
|
* @return 钱包管理
|
|
*/
|
|
public Web3Wallet selectWeb3WalletById(Long id,boolean isUser);
|
|
|
|
/**
|
|
* 查询钱包管理列表
|
|
*
|
|
* @param web3Wallet 钱包管理
|
|
* @return 钱包管理集合
|
|
*/
|
|
public List<Web3Wallet> selectWeb3WalletList(Web3Wallet web3Wallet,boolean isUser);
|
|
|
|
/**
|
|
* 新增钱包管理
|
|
*
|
|
* @param web3Wallet 钱包管理
|
|
* @return 结果
|
|
*/
|
|
public int insertWeb3Wallet(Web3Wallet web3Wallet,boolean isUser);
|
|
|
|
/**
|
|
* 修改钱包管理
|
|
*
|
|
* @param web3Wallet 钱包管理
|
|
* @return 结果
|
|
*/
|
|
public int updateWeb3Wallet(Web3Wallet web3Wallet,boolean isUser);
|
|
|
|
/**
|
|
* 批量删除钱包管理
|
|
*
|
|
* @param ids 需要删除的钱包管理ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteWeb3WalletByIds(Long[] ids,boolean isUser);
|
|
|
|
/**
|
|
* 删除钱包管理信息
|
|
*
|
|
* @param id 钱包管理ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteWeb3WalletById(Long id,boolean isUser);
|
|
|
|
List<Web3WalletPlus> getByIds(List<Long> ids,boolean isUser, SFunction<Web3WalletPlus, ?>... columns);
|
|
|
|
Web3WalletPlus getById(Long id, SFunction<Web3WalletPlus, ?>... columns);
|
|
|
|
Map<Long, Web3WalletPlus> getMapByIds(List<Long> ids, SFunction<Web3WalletPlus, ?>... columns);
|
|
|
|
List<Web3WalletPlus> getByIds(List<Long> ids);
|
|
|
|
Map<Long, Web3WalletPlus> getMapByIds(List<Long> ids);
|
|
|
|
/**
|
|
* @param field sum 字段
|
|
* @param where 条件
|
|
* @param tClass 返回类型
|
|
* @param <T>
|
|
* @return
|
|
*/
|
|
<T> T sum(String field, String where, Class<T> tClass);
|
|
|
|
Long count(String where);
|
|
|
|
<T> List<T> countByGroupBy(String select, String where, String groupby, Class<T> tClass);
|
|
}
|