package com.yd.csf.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.csf.feign.request.premiumreconciliation.ApiPremiumReconciliationPageRequest;
import com.yd.csf.feign.response.premiumreconciliation.ApiPremiumReconciliationPageResponse;
import com.yd.csf.service.dto.PremiumReconciliationDto;
import com.yd.csf.service.model.PremiumReconciliation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 保费对账记录表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-12-26
 */
public interface IPremiumReconciliationService extends IService<PremiumReconciliation> {

    IPage<ApiPremiumReconciliationPageResponse> page(Page<ApiPremiumReconciliationPageResponse> page,
                                                     ApiPremiumReconciliationPageRequest request);

    PremiumReconciliation queryOne(String premiumReconciliationBizId);

    List<PremiumReconciliation> queryList(PremiumReconciliationDto dto);

    PremiumReconciliation queryLatestOneByPolicyNo(String policyNo,String currentIssueNumber);
}
