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

import com.baomidou.dynamic.datasource.annotation.DS;
import com.jeelowcode.framework.global.JeeLowCodeBaseConstant;

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

@DS(JeeLowCodeBaseConstant.DS_JEELOWCODE)
public interface ExampleReportMapper {

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

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

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