package com.ycl.platform.mapper;
|
|
|
import com.ycl.platform.domain.entity.AccountingRules;
|
|
import java.util.List;
|
|
/**
|
* 核算规则Mapper接口
|
*
|
* @author gonghl
|
* @date 2024-03-21
|
*/
|
public interface AccountingRulesMapper {
|
/**
|
* 查询核算规则
|
*
|
* @param id 核算规则主键
|
* @return 核算规则
|
*/
|
public AccountingRules selectAccountingRulesById(Integer id);
|
|
/**
|
* 查询核算规则列表
|
*
|
* @param accountingRules 核算规则
|
* @return 核算规则集合
|
*/
|
public List<AccountingRules> selectAccountingRulesList(AccountingRules accountingRules);
|
|
/**
|
* 新增核算规则
|
*
|
* @param accountingRules 核算规则
|
* @return 结果
|
*/
|
public int insertAccountingRules(AccountingRules accountingRules);
|
|
/**
|
* 修改核算规则
|
*
|
* @param accountingRules 核算规则
|
* @return 结果
|
*/
|
public int updateAccountingRules(AccountingRules accountingRules);
|
|
/**
|
* 删除核算规则
|
*
|
* @param id 核算规则主键
|
* @return 结果
|
*/
|
public int deleteAccountingRulesById(Integer id);
|
|
/**
|
* 批量删除核算规则
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteAccountingRulesByIds(Integer[] ids);
|
}
|