
package com.lideeyunji.core.framework.mapper.example;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;

import java.util.Date;
import java.util.List;
import java.util.Map;

@DS(lideeYunJiBaseConstant.DS_lideeyunji)
public interface ExampleReportMapper {

    @DS(lideeYunJiBaseConstant.DS_MASTER)
    Map<String, Object> getIpAndVisitsNum(Date startDate, Date endDate);

    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    List<Map<String, Object>> getMaxUsedModel(Date begin, Date end);

    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    List<Map<String, Object>> getMinUsedModel(Date begin, Date end);
}
