package com.copy.trade.service.impl;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.copy.trade.dao.CopiedTradeMapper;
import com.copy.trade.dao.PositionMapper;
import com.copy.trade.entity.po.*;

import com.copy.trade.entity.vo.FollowOrderVo;
import com.copy.trade.service.*;

import org.springframework.stereotype.Service;

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


/**
 * <p>
 * 跟单记录表 服务实现类
 * </p>
 *
 * @author wz
 * @since 2022-11-08
 */
@Service
public class CopiedTradeServiceImpl extends ServiceImpl<CopiedTradeMapper, CopiedTrade> implements ICopiedTradeService {

	@Override
	public BigDecimal getOpenPriceByPositionId(Long positionId) {
		
		return ((CopiedTradeMapper)baseMapper).getOpenPriceByPositionId(positionId);
	}


	
}
