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 { /** * 查询钱包管理 * * @param id 钱包管理ID * @return 钱包管理 */ public Web3Wallet selectWeb3WalletById(Long id,boolean isUser); /** * 查询钱包管理列表 * * @param web3Wallet 钱包管理 * @return 钱包管理集合 */ public List 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 getByIds(List ids,boolean isUser, SFunction... columns); Web3WalletPlus getById(Long id, SFunction... columns); Map getMapByIds(List ids, SFunction... columns); List getByIds(List ids); Map getMapByIds(List ids); /** * @param field sum 字段 * @param where 条件 * @param tClass 返回类型 * @param * @return */ T sum(String field, String where, Class tClass); Long count(String where); List countByGroupBy(String select, String where, String groupby, Class tClass); }