86183
2022-09-09 0d999e33085c0a25c5525242748f6aa62a401159
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.dsh.upms.service.impl;
 
 
import cn.mb.cloud.common.data.base.impl.BaseServiceImpl;
import com.dsh.upms.entity.SysUserRole;
import com.dsh.upms.mapper.SysUserRoleMapper;
import com.dsh.upms.service.ISysUserRoleService;
import org.springframework.stereotype.Service;
 
/**
 * <p>
 * 用户角色表 服务实现类
 * </p>
 *
 * @author null123
 * @since 2022-05-16
 */
@Service
public class SysUserRoleServiceImpl extends BaseServiceImpl<SysUserRoleMapper, SysUserRole> implements ISysUserRoleService {
 
    /**
     * 根据用户ID删除绑定的角色
     *
     * @param doctorId
     */
    @Override
    public void deleteByUserId(Long doctorId) {
        this.getBaseMapper().deleteByUserId(doctorId);
    }
}