FinanceInfoMapper.java 1.46 KB
package com.lhcredit.project.business.financeInfo.mapper;

import com.lhcredit.project.business.financeInfo.domain.FinanceInfo;
import java.util.List;

/**
 * 财务数据 数据层
 *
 * @author lhcredit
 * @date 2024-06-11
 */
public interface FinanceInfoMapper {
    /**
     * 查询财务数据信息
     *
     * @param id 财务数据ID
     * @return 财务数据信息
     */
    public FinanceInfo selectFinanceInfoById(Long id);

    /**
     * 根据公司id 查询 finance_info 表的有效记录条数
     * @param id
     * @return
     */
    Long getFinanceInfoSearchCount(String id);

    /**
     * 查询财务数据列表
     *
     * @param financeInfo 财务数据信息
     * @return 财务数据集合
     */
    public List<FinanceInfo> selectFinanceInfoList(FinanceInfo financeInfo);

    /**
     * 新增财务数据
     *
     * @param financeInfo 财务数据信息
     * @return 结果
     */
    public int insertFinanceInfo(FinanceInfo financeInfo);

    /**
     * 修改财务数据
     *
     * @param financeInfo 财务数据信息
     * @return 结果
     */
    public int updateFinanceInfo(FinanceInfo financeInfo);

    /**
     * 删除财务数据
     *
     * @param id 财务数据ID
     * @return 结果
     */
    public int deleteFinanceInfoById(Long id);

    /**
     * 批量删除财务数据
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteFinanceInfoByIds(String[] ids);

}