package com.mindskip.xzs.repository;
|
|
import com.mindskip.xzs.domain.QuestionSubject;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
@Mapper
|
public interface QuestionSubjectMapper extends BaseMapper<QuestionSubject>{
|
|
/**
|
* 批量删除
|
* @param ids
|
* @return
|
*/
|
Integer removes(@Param("ids") Integer[] ids);
|
|
/**
|
*
|
* @return
|
*/
|
List<QuestionSubject> getQuestion(Integer id);
|
|
Integer saves(List<QuestionSubject> list);
|
|
Integer removeQuestionId(Integer questionId);
|
|
Integer removeSubjectId(Integer subjectId);
|
|
List<QuestionSubject> getSubject(Integer id);
|
}
|