基础代码生成
This commit is contained in:
1 parent
352d7d023f
commit
1c0544afe0
122 files changed
+21475
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.RentLedger;
|
||||
import com.ruoyi.system.domain.RentLedgerPlus;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
/**
|
||||
* 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖Service接口
|
||||
*
|
||||
* @author luqj
|
||||
* @date 2026-10-22
|
||||
*/
|
||||
public interface IRentLedgerService extends IService<RentLedgerPlus>
|
||||
{
|
||||
|
||||
List<SelectItem> select(String keyword);
|
||||
/**
|
||||
* 查询不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
*
|
||||
* @param id 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖ID
|
||||
* @return 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
*/
|
||||
public RentLedger selectRentLedgerById(Long id);
|
||||
|
||||
/**
|
||||
* 查询不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖列表
|
||||
*
|
||||
* @param rentLedger 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
* @return 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖集合
|
||||
*/
|
||||
public List<RentLedger> selectRentLedgerList(RentLedger rentLedger);
|
||||
|
||||
/**
|
||||
* 新增不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
*
|
||||
* @param rentLedger 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertRentLedger(RentLedger rentLedger);
|
||||
|
||||
/**
|
||||
* 修改不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
*
|
||||
* @param rentLedger 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateRentLedger(RentLedger rentLedger);
|
||||
|
||||
/**
|
||||
* 批量删除不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖
|
||||
*
|
||||
* @param ids 需要删除的不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteRentLedgerByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖信息
|
||||
*
|
||||
* @param id 不可变租赁资金流水;余额与流水同事务,冲正追加不覆盖ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteRentLedgerById(Long id);
|
||||
|
||||
List<RentLedgerPlus> getByIds(List<Long> ids, SFunction<RentLedgerPlus, ?>... columns);
|
||||
|
||||
RentLedgerPlus getById(Long id, SFunction<RentLedgerPlus, ?>... columns);
|
||||
|
||||
Map<Long, RentLedgerPlus> getMapByIds(List<Long> ids, SFunction<RentLedgerPlus, ?>... columns);
|
||||
|
||||
List<RentLedgerPlus> getByIds(List<Long> ids);
|
||||
|
||||
Map<Long, RentLedgerPlus> 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