| | |
| | | public int updateByPrimaryKeySelective(ThreeSaleExtraInfo record);
|
| | |
|
| | | public int updateByPrimaryKey(ThreeSaleExtraInfo record);
|
| | |
|
| | | /**
|
| | | * 根据用户id、被邀请id 查询
|
| | | * @param bossId
|
| | | * @param workerId
|
| | | * @return
|
| | | */
|
| | | public ThreeSaleExtraInfo getbyBossIdAndWorkerId(Long bossId, Long workerId);
|
| | |
|
| | | /**
|
| | | * 根据用户id、被邀请id删除
|
| | | * @param bossId
|
| | | * @param workerId
|
| | | * @return
|
| | | */
|
| | | public int deleteByBossIdAndWorkerId(Long bossId, Long workerId);
|
| | |
|
| | | /**
|
| | | * 是否已提醒boss
|
| | | * @param bossId
|
| | | * @param workerId
|
| | | * @return
|
| | | */
|
| | | public boolean isRemindBoss(Long bossId, Long workerId);
|
| | |
|
| | | /**
|
| | | * 是否已提醒下级
|
| | | * @param bossId
|
| | | * @param workerId
|
| | | * @return
|
| | | */
|
| | | public boolean isRemindWorker(Long bossId, Long workerId);
|
| | | }
|