yujian
2019-12-07 8c93d2e3b22ac543f8f94c2cf0eb982258fb708b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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);
    
}