package com.zm.order.tool.server.routing;


import com.zm.order.tool.server.model.OrderItemBatching;
import com.zm.order.tool.server.model.RoutingOrderItemBatching;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 
 * @author NianChang
 */
@Repository
public interface RoutingOrderItemBatchingDao {

    /**
     * 新增一条记录
     *
     * @param record
     * @return 影响行数
     */
    int insert(OrderItemBatching record);

    /**
     * 批量新增
     *
     * @param list
     * @return 影响行数
     */
    int insertList(List<OrderItemBatching> list);

    List<RoutingOrderItemBatching> selectByOrderNoList(List<String> list);

}
