package com.jxy.marketall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxy.common.datasource.annotation.BTCDB;
import com.jxy.marketall.dto.HolderDto;
import com.jxy.marketall.entity.Holder;
import com.jxy.marketall.vo.QueryVo;
import org.apache.ibatis.annotations.Param;

@BTCDB
public interface HolderMapper extends BaseMapper<Holder>{

    HolderDto getNewHolder();

    HolderDto getHolderByTime(@Param("vo") QueryVo vo);
}
