package com.dg.core.db.gen.mapper;
|
|
import com.dg.core.db.gen.entity.AutomessageSysUserRecord;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dg.core.db.manual.pojo.AppletUserCount;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* Mapper 接口
|
* </p>
|
*
|
* @author fengjin
|
* @since 2022-10-15
|
*/
|
public interface AutomessageSysUserRecordMapper extends BaseMapper<AutomessageSysUserRecord> {
|
|
/**
|
* 小程序用户访问量统计1.累计访问量2.本年访问量 3.本月访问量 4.今日访问量 5.昨日访问
|
* @return
|
*/
|
List<AppletUserCount> selectUserRecordCount();
|
|
/**
|
* 小程序用户访问量统计近15天
|
* @return
|
*/
|
List<AppletUserCount> selectByDay();
|
|
/**
|
* 小程序用户访问量统计近30天
|
* @return
|
*/
|
List<AppletUserCount> selectByMonth();
|
|
/**
|
* 小程序用户访问量统计近一年
|
* @return
|
*/
|
List<AppletUserCount> selectByYear();
|
|
/**
|
* 删除因为token问题产出的重复脏数据
|
* @return
|
*/
|
Integer deleteDistinct();
|
|
}
|