You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
854 B

package com.ccic.safeliab.service;
import com.ccic.safeliab.entity.PaperQuestion;
import com.ccic.safeliab.support.BaseService;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface PaperQuestionService extends BaseService<PaperQuestion> {
/**
* 添加试卷试题关系
* @param paperID 试卷ID
* @param QuestionIds 题目ID集合
* @return 添加是否成功
*/
int add(Long paperID, List<String> QuestionIds);
/**
* 删除试卷试题关系
* @param paperID 试卷ID
* @return 添加是否成功
*/
boolean delete(Long paperID);
/**
* 更新试卷试题关系
* @param paperID 试卷ID
* @param QuestionIds 题目ID集合
* @return 添加是否成功
*/
int update(Long paperID, List<String> QuestionIds);
}