package com.hzs.scm.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.sale.ext.SaOrderExt;
import com.hzs.common.domain.scm.store.IcStoreOutH;
import com.hzs.common.domain.scm.store.ext.IcStoreOutHExt;
import com.hzs.scm.store.param.OrderQueryParam;

import java.util.List;

/**
 * <p>
 * 店铺出库单表头 服务类
 * </p>
 *
 * @author hzs
 * @since 2024-05-11
 */
public interface IIcStoreOutHService extends IService<IcStoreOutH> {

    /*
     * @description:公司对店铺订单进行发货，公司到国代/省代/普通代理商
     * @author: sui q
     * @date: 2024/5/11 15:37
     * @param: null null
     **/
    void sendDeliverByCorp(List<Long> orderItemIdList, Integer pkStorehouse, Long pkMember);

    /*
     * @description: 店铺接受货物，到货操作
     * @author: sui q
     * @date: 2024/5/16 10:02
     * @param: null null
     **/
    void receiveDeliverByItemsIs(OrderQueryParam orderQueryParam, Long pkMember);

    /*
     * @description: 上级店铺发货，店铺到普通代理商/会员
     * @author: sui q
     * @date: 2024/5/11 15:39
     * @param: null null
     **/
    void sendDeliverByStore(OrderQueryParam orderQueryParam, Long pkMember);

    /*
     * @description: 根据查询条件查询店铺需要发货的订单
     * @author: sui q
     * @date: 2024/5/15 14:41
     * @param: null null
     **/
    List<IcStoreOutHExt> queryStoreOutByCondition(OrderQueryParam orderQueryParam);
}
