| | |
| | | package com.mindskip.xzs.service; |
| | | |
| | | import com.mindskip.xzs.domain.Subject; |
| | | import com.mindskip.xzs.viewmodel.admin.education.SubjectPageRequestVM; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.mindskip.xzs.base.RestResponse; |
| | | import com.mindskip.xzs.domain.Subject; |
| | | import com.mindskip.xzs.domain.form.AddSubjectForm; |
| | | import com.mindskip.xzs.domain.form.EditSubjectForm; |
| | | import com.mindskip.xzs.viewmodel.admin.education.SubjectPageRequestVM; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | List<Subject> allSubject(); |
| | | |
| | | List<Subject> studentSubList(); |
| | | |
| | | Integer levelBySubjectId(Integer id); |
| | | |
| | | PageInfo<Subject> page(SubjectPageRequestVM requestVM); |
| | | |
| | | List<Subject> getNames(String[] names); |
| | | |
| | | List<Subject> selectByIds(Integer[] ids); |
| | | |
| | | /** |
| | | * 根据部门id查询课目 |
| | | * |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | List<Subject> listByDeptId(Integer deptId); |
| | | |
| | | /** |
| | | * 新增课目 |
| | | * |
| | | * @param form |
| | | */ |
| | | RestResponse add(AddSubjectForm form); |
| | | |
| | | /** |
| | | * 修改部门课目 |
| | | * |
| | | * @param form |
| | | */ |
| | | void edit(EditSubjectForm form); |
| | | |
| | | /** |
| | | * 名称查找 |
| | | * |
| | | * |
| | | * @param id |
| | | * @param name |
| | | * @return |
| | | */ |
| | | Boolean selectByName(Integer id,String name); |
| | | } |