package com.copy.trade.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.copy.trade.entity.po.CopiedTrade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.copy.trade.entity.vo.FollowOrderVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 跟单记录表 Mapper 接口
 * </p>
 *
 * @author wz
 * @since 2022-11-08
 */
public interface CopiedTradeMapper extends BaseMapper<CopiedTrade> {

	BigDecimal getOpenPriceByPositionId(@Param("positionId") Long positionId);
 
}
