92 lines
2.8 KiB
Java
92 lines
2.8 KiB
Java
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<WalletAddressLedgerPlus>
|
|
{
|
|
|
|
List<SelectItem> select(String keyword,boolean isUser);
|
|
/**
|
|
* 查询钱包地址资金流水
|
|
*
|
|
* @param id 钱包地址资金流水ID
|
|
* @return 钱包地址资金流水
|
|
*/
|
|
public WalletAddressLedger selectWalletAddressLedgerById(Long id,boolean isUser);
|
|
|
|
/**
|
|
* 查询钱包地址资金流水列表
|
|
*
|
|
* @param walletAddressLedger 钱包地址资金流水
|
|
* @return 钱包地址资金流水集合
|
|
*/
|
|
public List<WalletAddressLedger> 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<WalletAddressLedgerPlus> getByIds(List<Long> ids,boolean isUser, SFunction<WalletAddressLedgerPlus, ?>... columns);
|
|
|
|
WalletAddressLedgerPlus getById(Long id, SFunction<WalletAddressLedgerPlus, ?>... columns);
|
|
|
|
Map<Long, WalletAddressLedgerPlus> getMapByIds(List<Long> ids, SFunction<WalletAddressLedgerPlus, ?>... columns);
|
|
|
|
List<WalletAddressLedgerPlus> getByIds(List<Long> ids);
|
|
|
|
Map<Long, WalletAddressLedgerPlus> 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);
|
|
}
|