package com.foreverwin.mesnac.dispatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.foreverwin.mesnac.common.dto.SfcDispatchDto;
import com.foreverwin.mesnac.dispatch.model.CallItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.foreverwin.mesnac.dispatch.model.ShopOrderRelease;
import com.foreverwin.modular.core.util.FrontPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Leon.L
 * @since 2021-06-24
 */
public interface CallItemService extends IService<CallItem> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    IPage<CallItem> selectPage(FrontPage<CallItem> frontPage, CallItem callItem);

    List<CallItem> selectList(CallItem callItem);

    void saveCallItem(String site, String user, List<SfcDispatchDto> sfcDispatchList);
}