yujian
2020-03-24 fd1dce3121a7773419263c495f92e160cc1e7124
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.yeshi.fanli.dao.mybatis.user;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.entity.bus.user.UserActiveLog;
 
public interface UserActiveLogMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(UserActiveLog record);
 
    int insertSelective(UserActiveLog record);
 
    UserActiveLog selectByPrimaryKey(Long id);
 
    UserActiveLog selectLatestByUid(Long uid);
 
    UserActiveLog selectFirstActiveInfo(Long uid);
 
    int updateByPrimaryKeySelective(UserActiveLog record);
 
    int updateByPrimaryKey(UserActiveLog record);
    
    
    /**
     * 统计当天活跃用户中有多少个用户是90天前才活跃过,期间从未活跃的用户数量。
     * @param date
     * @return
     */
    Long countActiveNumByDate(@Param("date") String date);
    
}