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 implements UserRolesService { @Autowired UserRolesInfoMapper userRolesInfoMapper; @Override public void deleteByUserId(Long userid) { userRolesInfoMapper.deleteByUserId(userid); } }