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/DormitorySetMapper.java

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