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

import com.zm.order.tool.server.model.OrderDiscount;
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 TbOrderDiscountDao {

    /**
     * 查询id
     *
     * @param idList
     * @return
     */
    List<OrderDiscount> selectByIdList(@Param("idList") List<Long> idList);


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

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