package com.ruoyi.dz.mapper; import java.util.List; import com.ruoyi.dz.domain.DzSchool; /** * 机构校区Mapper接口 * * @author ruoyi * @date 2025-09-12 */ public interface DzSchoolMapper { /** * 查询机构校区 * * @param id 机构校区主键 * @return 机构校区 */ public DzSchool selectDzSchoolById(Long id); /** * 查询机构校区列表 * * @param dzSchool 机构校区 * @return 机构校区集合 */ public List selectDzSchoolList(DzSchool dzSchool); public List selectDzSchoolListByIds(List schoolIds); /** * 新增机构校区 * * @param dzSchool 机构校区 * @return 结果 */ public int insertDzSchool(DzSchool dzSchool); /** * 修改机构校区 * * @param dzSchool 机构校区 * @return 结果 */ public int updateDzSchool(DzSchool dzSchool); /** * 删除机构校区 * * @param id 机构校区主键 * @return 结果 */ public int deleteDzSchoolById(Long id); /** * 批量删除机构校区 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteDzSchoolByIds(Long[] ids); }