| | |
| | | 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); |
| | | |
| | | |
| | | /** |
| | | * 查询一度队员集合 |
| | |
| | | */ |
| | | ThreeSale getRelationshipByBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId); |
| | | |
| | | /** |
| | | * 根据下级查询成功的邀请关系 |
| | | * @param workerId |
| | | * @return |
| | | */ |
| | | ThreeSale selectSuccessByWorkerId(Long workerId); |
| | | |
| | | |
| | | } |