| | |
| | | import com.yeshi.fanli.entity.bus.user.ThreeSale;
|
| | | import com.yeshi.fanli.entity.bus.user.ThreeSaleDetail;
|
| | | import com.yeshi.fanli.exception.ParamsException;
|
| | | import com.yeshi.fanli.log.LogHelper;
|
| | | import com.yeshi.fanli.service.inter.user.invite.ThreeSaleDetailService;
|
| | | import com.yeshi.fanli.service.inter.user.invite.ThreeSaleSerivce;
|
| | |
|
| | |
| | | @Override
|
| | | public void addByWorkerUid(Long workerUid) {
|
| | | List<ThreeSale> list = threeSaleSerivce.getMyBossDeepList(workerUid, 100);
|
| | | LogHelper.teamInfo(String.format("邀请详细信息: 用户ID:%s 上级数量:%s",workerUid+"",list.size()));
|
| | | int level = 0;
|
| | | for (ThreeSale tts : list) {
|
| | | level++;
|
| | |
| | | return threeSaleDetailDao.listByWorkerUid(uid);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public ThreeSaleDetail getByBossUidAndWorkerUid(Long bossUid, Long workerUid) {
|
| | | String id = bossUid + "#" + workerUid;
|
| | | return threeSaleDetailDao.get(id);
|
| | | }
|
| | | }
|