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.
ssgl/zsq/SelectionDormitoryMapper.java

25 lines
1.6 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.SelectionDormitory; // 导入SelectionDormitory实体类用于操作宿舍选择信息
public interface SelectionDormitoryMapper { // 定义SelectionDormitoryMapper接口提供对SelectionDormitory实体进行数据库操作的方法
public int create(SelectionDormitory selectionDormitory); // 创建一个新的SelectionDormitory记录返回影响的行数
public int delete(Integer id); // 根据id删除一个SelectionDormitory记录返回影响的行数
public int deleteByClazzId(Integer clazzId); // 根据clazzId删除SelectionDormitory记录返回影响的行数
public int update(SelectionDormitory selectionDormitory); // 更新一个SelectionDormitory记录返回影响的行数
public int updateSelective(SelectionDormitory selectionDormitory); // 选择性地更新一个SelectionDormitory记录返回影响的行数
public List<SelectionDormitory> query(SelectionDormitory selectionDormitory); // 根据条件查询SelectionDormitory记录返回符合条件的SelectionDormitory列表
public SelectionDormitory detail(Integer id); // 根据id查询一个SelectionDormitory记录的详细信息返回SelectionDormitory对象
public int count(SelectionDormitory selectionDormitory); // 根据条件统计SelectionDormitory记录的数量返回记录数量
}