package com.aircraft.modules.order.service;

import com.aircraft.modules.order.domain.SettlementDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单结算详情主表 服务类
 * </p>
 *
 * @author cli
 * @since 2025-07-10
 */
public interface ISettlementDetailService extends IService<SettlementDetail> {

    /**
     * 批量插入
     *
     * @param settlementDetailList  {@Link List<SettlementDetail>}
     */
    void batchInsert(List<SettlementDetail> settlementDetailList);

    /**
     * 查询结算单详情
     *
     * @param settlementOrderId 结算单ID
     * @return  List<SettlementDetail>
     */
    List<SettlementDetail> obtainDetailBySettlementOrderId(Long settlementOrderId);

    /**
     * 更新结算单状态
     *
     * @param ids  id集合
     * @param updateStatus 状态
     */
    void updateSettlementOrderStatus(List<Long> ids, Integer updateStatus);
}
