郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.gk.hotwork.Service.ServiceImpl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gk.hotwork.Domain.UserRolesInfo;
import com.gk.hotwork.Mapper.UserRolesInfoMapper;
import com.gk.hotwork.Service.UserRolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
@Service("UserRolesService")
public class UserRolesServiceImpl extends ServiceImpl<UserRolesInfoMapper, UserRolesInfo> implements UserRolesService {
    @Autowired
    UserRolesInfoMapper userRolesInfoMapper;
 
 
    @Override
    public void deleteByUserId(Long userid) {
        userRolesInfoMapper.deleteByUserId(userid);
    }
}