package com.muchinfo.mtp3interface.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muchinfo.mtp3pojos.entity.Tradeposition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 持仓头寸表 - 导历史 Mapper 接口
 * </p>
 *
 * @author XKF
 * @since 2024-07-31
 */
@Mapper
public interface ITradepositionMapper extends BaseMapper<Tradeposition> {

    List<Tradeposition> queryAmount(@Param("areaid") Long areaid);

    Integer queryPositionByUserid(Long userid);
}
