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.
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.yanzhen.mapper ; // 定义包名, 表示该接口属于com.yanzhen.mapper包
import java.util.List ; // 导入Java的List类, 用于处理列表数据结构
import java.util.Map ; // 导入Java的Map类, 用于处理键值对数据结构
import com.yanzhen.entity.Grade ; // 导入Grade实体类, 用于操作年级信息
public interface GradeMapper { // 定义GradeMapper接口, 提供对Grade实体进行数据库操作的方法
public int create ( Grade grade ) ; // 创建一个新的Grade记录, 返回影响的行数
public int delete ( Integer id ) ; // 根据id删除一个Grade记录, 返回影响的行数
public int update ( Grade grade ) ; // 更新一个Grade记录, 返回影响的行数
public int updateSelective ( Grade grade ) ; // 选择性地更新一个Grade记录, 返回影响的行数
public List < Grade > query ( Grade grade ) ; // 根据条件查询Grade记录, 返回符合条件的Grade列表
public Grade detail ( Integer id ) ; // 根据id查询一个Grade记录的详细信息, 返回Grade对象
public int count ( Grade grade ) ; // 根据条件统计Grade记录的数量, 返回记录数量
}