admin
2020-04-15 ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserActiveLogMapper.java
@@ -1,5 +1,7 @@
package com.yeshi.fanli.dao.mybatis.user;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.entity.bus.user.UserActiveLog;
public interface UserActiveLogMapper {
@@ -19,4 +21,13 @@
   int updateByPrimaryKeySelective(UserActiveLog record);
   int updateByPrimaryKey(UserActiveLog record);
   /**
    * 统计当天活跃用户中有多少个用户是90天前才活跃过,期间从未活跃的用户数量。
    * @param date
    * @return
    */
   Long countActiveNumByDate(@Param("preDay") String preDay);
}