package com.hzs.sale.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.sale.ext.SaOrderSelfLogExt;
import com.hzs.common.domain.sale.order.SaOrder;
import com.hzs.common.domain.sale.order.SaOrderSelfLog;
import com.hzs.sale.order.param.SelfPickUpParam;

import java.util.List;

/**
 * <p>
 * 订单自提申请记录 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-04-19
 */
public interface ISaOrderSelfLogService extends IService<SaOrderSelfLog> {

    /*
     * @description: 会员端自提，记录日志,申请记录
     * @author: sui q
     * @date: 2023/4/19 17:37
     * @param: null null
     **/
    void applySelfPickUpSaOrder(SaOrder saOrder, SelfPickUpParam selfPickUpVO);

    /*
     * @description: 查询自提订单
     * @author: sui q
     * @date: 2023/4/19 19:24
     * @param: null null
     **/
    List<SaOrderSelfLogExt> querySaOrderSelfLog(SelfPickUpParam selfPickUpVO);

    /*
     * @description: 查询自提订单
     * @author: sui q
     * @date: 2023/4/20 15:30
     * @param: null null
     **/
    SaOrderSelfLog querySaOrderSelfLogById(Long pkId);

    /*
     * @description: 查询自提订单
     * @author: sui q
     * @date: 2023/4/19 19:24
     * @param: null null
     **/
    List<SaOrderSelfLogExt> queryMemberSaOrderSelfLog(SelfPickUpParam selfPickUpVO);

    /*
     * @description: 更新自提订单状态
     * @author: sui q
     * @date: 2023/4/20 15:38
     * @param: null null
     **/
    void updateSaOrderSelfLog(SelfPickUpParam selfPickUpVO, Long pkId);

}
