| | |
| | | package com.yeshi.makemoney.app.service.inter.goldcorn; |
| | | |
| | | import com.yeshi.makemoney.app.entity.SystemEnum; |
| | | import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetRecord; |
| | | import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType; |
| | | import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetRecordException; |
| | | import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornGetRecordQuery; |
| | | import org.yeshi.utils.statistic.BaseStatisticTimeQuery; |
| | | import org.yeshi.utils.statistic.StatisticNumberResult; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | * |
| | | */ |
| | | public long count(GoldCornGetRecordQuery goldCornGetRecordQuery); |
| | | |
| | | |
| | | /** |
| | | * |
| | |
| | | |
| | | |
| | | /** |
| | | * @return java.util.Map<java.lang.Long , java.math.BigDecimal> |
| | | * @return java.util.Map<java.lang.Long , java.math.BigDecimal> |
| | | * @author hxh |
| | | * @description 统计FromUid产生的金币数量 |
| | | * @date 15:36 2022/4/8 |
| | |
| | | |
| | | |
| | | /** |
| | | * @return int |
| | | * @author hxh |
| | | * @description 获取连续任务的天数 |
| | | * @date 16:39 2022/4/21 |
| | | * @param: uid |
| | | * @param: type |
| | | * @param: deadDate |
| | | * @return int |
| | | **/ |
| | | public int getContinueDay(Long uid, GoldCornGetType type,Date deadDate); |
| | | public int getContinueDay(Long uid, GoldCornGetType type, Date deadDate); |
| | | |
| | | |
| | | /** |
| | | * @return long |
| | | * @author hxh |
| | | * @description 统计事件数量 |
| | | * @date 10:32 2022/4/28 |
| | | * @param: goldCornGetRecordQuery |
| | | **/ |
| | | public Map<GoldCornGetType, Long> sumEventCount(GoldCornGetRecordQuery goldCornGetRecordQuery); |
| | | |
| | | |
| | | /** |
| | | * @author hxh |
| | | * @description 统计金币数量 |
| | | * @date 14:59 2022/5/10 |
| | | * @param: goldCornGetRecordQuery |
| | | * @return java.util.Map<java.lang.String,java.lang.Long> |
| | | **/ |
| | | public Map<String, Long> sumGoldCornNum(GoldCornGetRecordQuery goldCornGetRecordQuery); |
| | | |
| | | |
| | | /** |
| | | * @return java.util.List<java.lang.Long> |
| | | * @author hxh |
| | | * @description 获取活跃用户列表 |
| | | * @date 18:33 2022/5/7 |
| | | * @param: minCreateTime 最小的活跃时间 |
| | | * @param: maxCreateTime 最大的活跃时间 |
| | | * @param: page |
| | | * @param: pageSize |
| | | **/ |
| | | public List<Long> listUids(Date minCreateTime, Date maxCreateTime, int page, int pageSize); |
| | | |
| | | |
| | | /** |
| | | * @return java.util.List<java.util.Map < java.lang.Long , java.lang.Boolean>> |
| | | * @author hxh |
| | | * @description 批量查询用户是否签到 |
| | | * @date 18:42 2022/5/7 |
| | | * @param: uidList |
| | | * @param: day |
| | | **/ |
| | | public Map<Long, Boolean> isSignIned(List<Long> uidList, String day); |
| | | |
| | | /** |
| | | * @return org.yeshi.utils.statistic.StatisticNumberResult |
| | | * @author hxh |
| | | * @description 统计 |
| | | * @date 14:55 2022/5/10 |
| | | * @param: system |
| | | * @param: query |
| | | **/ |
| | | public List<StatisticNumberResult> statistic(SystemEnum system, BaseStatisticTimeQuery query); |
| | | |
| | | |
| | | } |