package com.datacenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.datacenter.entity.stat.StatCopyTradePosition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface StatCopyTradePositionMapper extends BaseMapper<StatCopyTradePosition> {

    List<StatCopyTradePosition> computeSnapshot(@Param("statTime") LocalDateTime statTime);
}
