package com.hzs.ground.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.ground.order.SaOrderSettle;
import com.hzs.common.domain.ground.order.ext.SaOrderSettleExt;
import com.hzs.common.domain.sale.ext.SaOrderExt;
import com.hzs.ground.order.param.OrderQueryParam;

import java.util.List;

/**
 * <p>
 * 销售订单-三方结算表 服务类
 * </p>
 *
 * @author hzs
 * @since 2024-04-15
 */
public interface ISaOrderSettleService extends IService<SaOrderSettle> {

    /*
     * @description: 保存结算单，发货完成后生成订单结算单
     * @author: sui q
     * @date: 2024/4/15 14:12
     * @param: null null
     **/
    void saveOrderSettleByOrder(OrderQueryParam orderQueryParam, List<SaOrderExt> orderList);

    /*
     * @description:
     * @author: sui q 
     * @date: 2024/4/15 15:37 
     * @param: null null
     **/
    List<SaOrderSettleExt> querySaOrderSettle(OrderQueryParam queryParam);

    /*
     * @description: 结算操作
     * @author: sui q
     * @date: 2024/4/16 10:23
     * @param: null null
     **/
    void updateSaOrderSettle(List<SaOrderSettleExt> orderSettleExtList);
}
