package com.jwipc.order.service;

import com.jwipc.order.entity.ArrivalControlConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.order.model.po.ArrivalControlConfigPO;

import java.util.List;

/**
 * <p>
 * 到货控制配置表 服务类
 * </p>
 *
 * @author WT
 * @since 2024-03-06
 */
public interface IArrivalControlConfigService extends IService<ArrivalControlConfig> {
    /**
     * 根据送货单ID  查对应的到货周期配置
     *
     * @param deliveryIds              送货单IDS
     * @param defaultCargoWeek 没有匹配的的默认周期
     * @return 周期配置
     */
    List<ArrivalControlConfigPO> selectCargoWeek(List<String> deliveryIds, String defaultCargoWeek);
}
