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

import com.zm.order.tool.server.model.OrderIndex;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zm.order.tool.server.model.OrderNoIndex;

import java.util.List;


/**
 * <p>
 *
 * </p>
 *
 * @author nianchang
 * @date 2023/02/17 3:42 下午
 */
@Repository
public interface HistoryDataOrderIndexDao {

    /**
     * 根据订单号查询
     *
     * @param orderNo 订单号
     * @return OrderNoIndex
     */
    OrderIndex selectByOrderNo(@Param("orderNo") String orderNo);

    /**
     * 根据订单号查询
     *
     * @param orderNoList 订单号
     * @return OrderNoIndex
     */
    List<OrderIndex> selectByOrderNoList(@Param("orderNoList") List<String> orderNoList);

}
