| | |
| | | List<HongBaoV2> listCanBalanceHongBaoByType(@Param("type") int type, @Param("count") int count); |
| | | |
| | | /** |
| | | * 获取能够结算的分享赚和邀请赚的用户列表 |
| | | * 获取能够结算的红包的用户列表 |
| | | * |
| | | * @param count |
| | | * @return |
| | | */ |
| | | List<Long> listUidCanBanlanceShareAndInvite(int count); |
| | | List<Long> listUidCanBanlanceByTypeAndMaxTime(@Param("typeList") List<Integer> typeList, |
| | | @Param("maxTime") Date maxTime, @Param("start") long start, @Param("count") int count); |
| | | |
| | | long countUidCanBanlanceByTypeAndMaxTime(@Param("typeList") List<Integer> typeList, |
| | | @Param("maxTime") Date maxTime); |
| | | |
| | | /** |
| | | * 根据用户ID,类型获取能够结算的红包 |
| | |
| | | */ |
| | | List<HongBaoDTO> listByOrderTradeId(@Param("tradeId") String tradeId); |
| | | |
| | | |
| | | /** |
| | | * 查询直接上级当时获得红包等级 |
| | | * @param pid |
| | | * @return |
| | | */ |
| | | Integer getDirectBossUrankByPid(@Param("pid")Long pid); |
| | | |
| | | } |