xiangpei
2024-05-09 7fead3526920951ed8f68d0f9aaf23fe632158ae
src/main/java/com/mindskip/xzs/repository/QuestionSubjectMapper.java
@@ -2,6 +2,7 @@
import com.mindskip.xzs.domain.QuestionSubject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -13,7 +14,7 @@
     * @param ids
     * @return
     */
    Integer removes(Integer[] ids);
    Integer removes(@Param("ids") Integer[] ids);
    /**
     *
@@ -24,4 +25,11 @@
    Integer saves(List<QuestionSubject> list);
    Integer removeQuestionId(Integer questionId);
    Integer removeSubjectId(Integer subjectId);
    List<QuestionSubject> getSubject(Integer id);
    /** 统计课目的题目数 */
    Integer countQuestionNum(@Param("subjects") List<Integer> subjects);
}