package com.ruoyi.system.service; import com.baomidou.mybatisplus.core.toolkit.support.SFunction; import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.common.select.SelectItem; import com.ruoyi.system.domain.WalletAddressLedger; import com.ruoyi.system.domain.WalletAddressLedgerPlus; import java.util.List; import java.util.Map; /** * 钱包地址资金流水Service接口 * * @author luqj * @date 2026-10-13 */ public interface IWalletAddressLedgerService extends IService { List select(String keyword,boolean isUser); /** * 查询钱包地址资金流水 * * @param id 钱包地址资金流水ID * @return 钱包地址资金流水 */ public WalletAddressLedger selectWalletAddressLedgerById(Long id,boolean isUser); /** * 查询钱包地址资金流水列表 * * @param walletAddressLedger 钱包地址资金流水 * @return 钱包地址资金流水集合 */ public List selectWalletAddressLedgerList(WalletAddressLedger walletAddressLedger,boolean isUser); /** * 新增钱包地址资金流水 * * @param walletAddressLedger 钱包地址资金流水 * @return 结果 */ public int insertWalletAddressLedger(WalletAddressLedger walletAddressLedger,boolean isUser); /** * 修改钱包地址资金流水 * * @param walletAddressLedger 钱包地址资金流水 * @return 结果 */ public int updateWalletAddressLedger(WalletAddressLedger walletAddressLedger,boolean isUser); /** * 批量删除钱包地址资金流水 * * @param ids 需要删除的钱包地址资金流水ID * @return 结果 */ public int deleteWalletAddressLedgerByIds(Long[] ids,boolean isUser); /** * 删除钱包地址资金流水信息 * * @param id 钱包地址资金流水ID * @return 结果 */ public int deleteWalletAddressLedgerById(Long id,boolean isUser); List getByIds(List ids,boolean isUser, SFunction... columns); WalletAddressLedgerPlus 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); }