You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
exam/sys/user/mapper/SysRoleMapper.java

33 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* 定义包名,表明该类属于系统用户模块下的映射器包。
* 包名的组织有助于代码的模块化管理和避免命名冲突。
*/
package com.yf.exam.modules.sys.user.mapper;
/**
* 导入 MyBatis-Plus 核心的 BaseMapper 接口,
* 该接口提供了通用的数据库 CRUD 操作方法,
* 可以减少开发者编写重复的 SQL 映射代码。
*/
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* 导入系统角色实体类,该类用于封装角色相关的属性,
* 作为 Mapper 接口操作的对象类型。
*/
import com.yf.exam.modules.sys.user.entity.SysRole;
/**
* <p>
* 角色Mapper接口继承自 MyBatis-Plus 的 BaseMapper 接口。
* 该接口用于定义与系统角色相关的数据库操作方法,
* 借助 BaseMapper 提供的通用方法,可以直接进行角色数据的增删改查操作。
* </p>
*
* @author 聪明笨狗
* @since 2020-04-13 16:57
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {
// 目前该接口仅继承 BaseMapper 的通用方法,未自定义额外的数据库操作方法
}