123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- package com.ruoyi.system.service;
- import java.util.List;
- import java.util.Map;
- import com.ruoyi.system.domain.StuDepartment;
- import org.apache.ibatis.annotations.Param;
- /**
- * 科系Service接口
- *
- * @author liql
- * @date 2021-03-23
- */
- public interface IStuDepartmentService
- {
- /**
- * 查询科系
- *
- * @param id 科系ID
- * @return 科系
- */
- public StuDepartment selectStuDepartmentById(Long id);
- /**
- * 查询科系列表
- *
- * @param stuDepartment 科系
- * @return 科系集合
- */
- public List<StuDepartment> selectStuDepartmentList(StuDepartment stuDepartment);
- /**
- * 新增科系
- *
- * @param stuDepartment 科系
- * @return 结果
- */
- public int insertStuDepartment(StuDepartment stuDepartment);
- /**
- * 修改科系
- *
- * @param stuDepartment 科系
- * @return 结果
- */
- public int updateStuDepartment(StuDepartment stuDepartment);
- /**
- * 批量删除科系
- *
- * @param ids 需要删除的科系ID
- * @return 结果
- */
- public int deleteStuDepartmentByIds(Long[] ids);
- /**
- * 删除科系信息
- *
- * @param id 科系ID
- * @return 结果
- */
- public int deleteStuDepartmentById(Long id);
- /**
- * 根据学院id查询科系列表
- * @param collegeId
- * @return
- */
- public List<Map<String,Object>> queryList(Long collegeId);
- }
|