package com.mindskip.xzs.service;
|
|
import com.mindskip.xzs.domain.QuestionSubject;
|
|
import java.util.List;
|
|
public interface QuestionSubjectService extends BaseService<QuestionSubject>{
|
|
/**
|
* 批量删除
|
* @param ids
|
* @return
|
*/
|
Integer removes(Integer[] ids);
|
|
/**
|
* 添加
|
* @param questionSubject
|
* @return
|
*/
|
Integer add(QuestionSubject questionSubject);
|
|
/**
|
*
|
* @return
|
*/
|
List<QuestionSubject> getQuestion(Integer id);
|
|
/**
|
* 批量添加
|
* @param list
|
* @return
|
*/
|
Integer saves(List<QuestionSubject> list);
|
|
/**
|
* 根据试卷id批量删除
|
* @param questionId
|
* @return
|
*/
|
Integer removeQuestionId(Integer questionId);
|
|
Integer removeSubjectId(Integer subjectId);
|
|
List<QuestionSubject> getSubject(Integer id);
|
|
/**
|
* 根据科目查询题目
|
* @param subjectIds 科目
|
* @return 题目
|
*/
|
List<QuestionSubject> getSubjectBySubjectIds(Integer[] subjectIds);
|
}
|