admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
34
35
36
37
38
39
40
41
42
package com.yeshi.fanli.service.inter.user;
 
import com.yeshi.fanli.entity.bus.user.UserActiveLog;
 
/**
 * 用户活跃日志服务
 * 
 * @author Administrator
 *
 */
public interface UserActiveLogService {
    /**
     * 用户活跃日志
     * 
     * @param userActiveLog
     */
    public void addUserActiveLog(UserActiveLog userActiveLog);
 
    /**
     * 获取某个用户的最近一次的活跃信息
     * 
     * @param uid
     * @return
     */
    public UserActiveLog getUserLatestActiveInfo(Long uid);
 
    /**
     * 获取第一次活跃信息
     * 
     * @param uid
     * @return
     */
    public UserActiveLog getFirstActiveInfo(Long uid);
 
 
    /**
     * 统计90后再次活跃用户
     * @param date
     * @return
     */
    public long count90DaysLaterActiveNum(String date);
}