| | |
| | | int updateByPrimaryKey(ThreeSale record); |
| | | |
| | | int effectThreeSale(Long workerUid); |
| | | |
| | | /** |
| | | * 删除失效 |
| | | * @param bossId |
| | | * @param workerId |
| | | * @return |
| | | */ |
| | | int deleteExpireRecord(@Param("bossId")Long bossId, @Param("workerId")Long workerId); |
| | | |
| | | /** |
| | | * 失效 |
| | | * @param bossId |
| | | * @param workerId |
| | | * @return |
| | | */ |
| | | List<ThreeSale> getExpireRecord(@Param("bossId")Long bossId, @Param("workerId")Long workerId); |
| | | |
| | | |
| | | /** |
| | | * 查询一度队员集合 |
| | |
| | | * @return |
| | | */ |
| | | List<ThreeSale> listByWorkerId(Long workerId); |
| | | |
| | | |
| | | /** |
| | | * 获取成功邀请关系数量 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | int getSuccessRelationshipNum(@Param("uid") Long uid); |
| | | |
| | | |
| | | /** |
| | | * 根据邀请者ID、bossID查询 有效关系 |
| | | * |
| | | * @param workerId |
| | | * @return |
| | | */ |
| | | ThreeSale getRelationshipByBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId); |
| | | |
| | | |
| | | } |