package com.jwipc.finance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.AccountStatement;
import com.jwipc.finance.entity.CostAccountStatement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.finance.model.po.AccountStatementPO;
import com.jwipc.finance.model.po.CostAccountStatementPO;
import com.jwipc.finance.model.query.AccountStatementQuery;
import com.jwipc.finance.model.query.CostAccountStatementQuery;

import java.util.List;

/**
 * <p>
 * 对账模块-费用对账单主表 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-11-03
 */
public interface ICostAccountStatementService extends IService<CostAccountStatement> {

    List<CostAccountStatementPO> findPageByQuery(Page<CostAccountStatement> dbPage, CostAccountStatementQuery query);

    /**
     * 检查对账单状态
     *
     * @param idList 对账单ID集合
     * @return 结果
     */
    List<CostAccountStatement> checkAccountStatementStatus(List<Long> idList);

    CostAccountStatementPO getPoById(Long id);

    List<CostAccountStatementPO> accountOrApplyList(Page<CostAccountStatement> dbPage, CostAccountStatementQuery query);
}
