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/SysUserRoleMapper.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.

/**
* 定义包名,表明该类所属的模块和功能目录,这里是系统用户模块下的 mapper 目录。
*/
package com.yf.exam.modules.sys.user.mapper;
/**
* 导入 MyBatis-Plus 框架的 BaseMapper 接口,
* 该接口提供了通用的数据库 CRUD 操作方法,
* 继承它可以让我们快速实现对数据库表的基本操作。
*/
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* 导入系统用户角色实体类,
* 该实体类用于封装用户角色的相关属性,
* 作为当前 Mapper 接口操作的对象类型。
*/
import com.yf.exam.modules.sys.user.entity.SysUserRole;
/**
* <p>
* 用户角色Mapper接口继承自 MyBatis-Plus 的 BaseMapper 接口。
* 该接口用于与数据库中用户角色相关的数据表进行交互,
* 借助 BaseMapper 提供的通用方法,可以直接进行用户角色数据的增删改查操作。
* </p>
*
* @author 聪明笨狗
* @since 2020-04-13 16:57
*/
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
// 目前该接口仅继承 BaseMapper 的通用方法,未自定义额外的数据库操作方法
}