郑永安
2023-06-19 2fcd97552d16718cc7997629fd637a73a5a4483f
src/main/java/com/gk/firework/Service/ServiceImpl/UserRolesServiceImpl.java
对比新文件
@@ -0,0 +1,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);
    }
}