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

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

import java.util.List;

/**
 * @Author zhuxiaofeng
 * @Date 2021/9/14 14:57
 */
@Repository
public interface TbOrderDao {

    /**
     * 查询列表
     *
     * @param orderQuery
     * @return
     */
    List<Order> selectList(OrderQuery orderQuery);

    /**
     * 查询列表
     *
     * @param orderQuery
     * @return
     */
    List<Long> selectId(OrderQuery orderQuery);

    List<Order> selectById(@Param("idList") List<Long> idList);
}
