流水表基础代码生成
This commit is contained in:
1 parent
cdf32a86cb
commit
8cc7bd0c17
14 files changed
+3356
No files matched your search
@@ -0,0 +1,91 @@
|
||||
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);
|
||||
}
|
||||
Reference in new issue
Block a user