/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.financial.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.openhis.administration.dto.ChargeItemDefInfo;
import com.openhis.common.enums.PaymentStatisticalMethod;
import com.openhis.common.enums.PaymentType;
import com.openhis.financial.domain.PaymentRecStatic;

/**
 * 付款管理Service接口
 *
 * @author SunJQ
 * @date 2025-08-08
 */
public interface IPaymentRecStaticService extends IService<PaymentRecStatic> {
    /**
     * 批量保存付款快照信息
     *
     * @param paymentId 付款id
     * @param paymentType 付款/退款
     * @param paymentStatisticalMethod 统计方式：字典/医保分类
     * @param chargeItemDefInfoList chargeItem基础信息
     */
    void savePaymentRecStatics(Long paymentId, PaymentType paymentType,
        PaymentStatisticalMethod paymentStatisticalMethod, List<ChargeItemDefInfo> chargeItemDefInfoList);
}
