| | |
| | | package com.yeshi.fanli.dao.mybatis.user; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.user.UserInviteSeparate; |
| | | |
| | | public interface UserInviteSeparateMapper extends BaseMapper<UserInviteSeparate> { |
| | | |
| | | /** |
| | | * 脱离不成功 |
| | | * @param uid |
| | | */ |
| | | void updateInvalidByBossId(@Param("uid") Long uid); |
| | | |
| | | |
| | | /** |
| | | * 脱离不成功 |
| | | * @param uid |
| | | */ |
| | | void updateStateByWorkerIdAndBossId(@Param("workerId") Long workerId, @Param("bossId") Long bossId, @Param("state") int state); |
| | | |
| | | |
| | | /** |
| | | * 脱离记录 |
| | | * @param uid |
| | | */ |
| | | UserInviteSeparate selectByWorkerIdAndBossId(@Param("workerId") Long workerId, @Param("bossId") Long bossId); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.user;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInviteSeparate;
|
| | |
|
| | | public interface UserInviteSeparateMapper extends BaseMapper<UserInviteSeparate> {
|
| | |
|
| | | /**
|
| | | * 脱离不成功
|
| | | * @param uid
|
| | | */
|
| | | void updateInvalidByBossId(@Param("uid") Long uid);
|
| | | |
| | | |
| | | /**
|
| | | * 脱离不成功
|
| | | * @param uid
|
| | | */
|
| | | void updateStateByWorkerIdAndBossId(@Param("workerId") Long workerId, @Param("bossId") Long bossId, @Param("state") int state);
|
| | | |
| | | |
| | | /**
|
| | | * 脱离记录
|
| | | * @param uid
|
| | | */
|
| | | UserInviteSeparate selectByWorkerIdAndBossId(@Param("workerId") Long workerId, @Param("bossId") Long bossId);
|
| | | |
| | | /**
|
| | | * 查询已超时代处理的记录
|
| | | * @param start
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | List<UserInviteSeparate> getHandleOverdue(@Param("start") int start, @Param("count") int count);
|
| | | } |