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.

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