| | |
| | | */ |
| | | RedPackWinInvite getByUidAndTeamUidAndType(@Param("uid")Long uid,@Param("teamUid")Long teamUid, @Param("type")String type); |
| | | |
| | | /** |
| | | * 统计用户、下级、类型的数量 |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | RedPackWinInvite getByUidAndTeamUid(@Param("uid")Long uid,@Param("teamUid")Long teamUid); |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 统计用户、下级、类型的数量 |
| | |
| | | * @return |
| | | */ |
| | | long countTeamNumByTid(@Param("uid")Long uid, @Param("teamUid")Long teamUid); |
| | | |
| | | |
| | | /** |
| | | * 获取奖励记录 |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<RedPackWinInvite> query(@Param("start")long start, @Param("count")int count, @Param("key")String key, @Param("type")String type); |
| | | |
| | | Long count(@Param("key")String key, @Param("type")String type); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询上个月 |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<RedPackWinInvite> listLastMonthByUid(@Param("start")long start, @Param("count")int count, @Param("uid")Long uid); |
| | | |
| | | /** |
| | | * 统计上月条数 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | Long countLastMonthByUid(@Param("uid")Long uid); |
| | | |
| | | |
| | | /** |
| | | * 查询上个月有邀请的用户 |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<Long> listWinUid(@Param("start")long start, @Param("count")int count); |
| | | |
| | | |
| | | } |