郑永安
2023-06-19 f65443d8abeaedc9d102324565e8368e7c9d90c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.gk.firework.Service.ServiceImpl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gk.firework.Domain.UserRolesInfo;
import com.gk.firework.Mapper.UserRolesInfoMapper;
import com.gk.firework.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);
    }
}