package com.gk.firework.Mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gk.firework.Domain.RoleInfo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface RoleInfoMapper extends BaseMapper { int deleteByPrimaryKey(Long id); RoleInfo selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(RoleInfo record); int updateByPrimaryKey(RoleInfo record); List selectRoleByUser(Long id); List selectList(String name); List selectExistRole(@Param("id") Long id, @Param("name") String name); }