package com.ruoyi.web.modules.trading.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.trading.domain.BizTradeOrderLine;

/**
 * 交易订单明细 Mapper
 */
public interface BizTradeOrderLineMapper
{
    List<BizTradeOrderLine> selectLineListByOrderId(Long orderId);

    List<BizTradeOrderLine> selectLineListByOrderIds(@Param("orderIds") List<Long> orderIds);

    List<String> selectOccupiedEarTags(@Param("excludeOrderId") Long excludeOrderId);

    int deleteLineByOrderId(Long orderId);

    int batchInsertLine(List<BizTradeOrderLine> list);
}
