| | |
| | | package com.mindskip.xzs.service; |
| | | |
| | | 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 com.github.pagehelper.PageInfo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | List<Subject> getSubjectByLevel(Integer level); |
| | | |
| | | List<Subject> allSubject(); |
| | | |
| | | List<Subject> studentSubList(); |
| | | |
| | | Integer levelBySubjectId(Integer id); |
| | | |
| | |
| | | * |
| | | * @param form |
| | | */ |
| | | void add(AddSubjectForm form); |
| | | RestResponse add(AddSubjectForm form); |
| | | |
| | | /** |
| | | * 修改部门课目 |
| | |
| | | * @param form |
| | | */ |
| | | void edit(EditSubjectForm form); |
| | | |
| | | /** |
| | | * 名称查找 |
| | | * |
| | | * |
| | | * @param id |
| | | * @param name |
| | | * @return |
| | | */ |
| | | Boolean selectByName(Integer id,String name); |
| | | } |