package com.openhis.financial.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.openhis.common.enums.PaymentResult;
import com.openhis.financial.domain.PaymentRecDetail;
import com.openhis.financial.model.PaymentRecDetailAccountResult;

/**
 * 付款管理Service接口
 *
 * @author system
 * @date 2025-02-20
 */
public interface IPaymentRecDetailService extends IService<PaymentRecDetail> {

    /**
     * 根据paymentId更改结算结果
     * 
     * @param id id
     * @param paid PaymentResult
     */
    void updateResultByPaymentId(Long id, PaymentResult paid);

    /**
     * 根据paymentId集合查询详情信息
     * 
     * @param paymentIdList 集合
     * @return 集合
     */
    List<PaymentRecDetailAccountResult> getListByReconciliationIds(List<Long> paymentIdList);

}