package net.lab1024.sa.admin.module.business.wms.shipping.pick.service;

import net.lab1024.sa.admin.module.business.wms.receive.asn.domain.entity.AsnEntity;
import net.lab1024.sa.admin.module.business.wms.shipping.pick.domain.entity.PickEntity;
import net.lab1024.sa.admin.module.business.wms.shipping.pick.domain.form.PickQueryForm;
import net.lab1024.sa.admin.module.business.wms.shipping.pick.domain.vo.PickVO;
import net.lab1024.sa.base.common.domain.PageResult;

import java.util.List;

public interface PickQueryService {
    /**
     * 分页查询
     */
    PageResult<PickVO> queryPage(PickQueryForm queryForm);

    /**
     * 根据客户订单号查询入库单
     *
     * @param customerNumber 客户订单号
     * @return AsnEntity
     */
    PickEntity queryByCustomerNumber(String customerNumber);

    /**
     * 根据ids查询出库
     *
     * @param idList 出库集合
     * @return List<PickEntity>
     */
    List<PickEntity> queryByPickIds(List<Long> idList);

}
