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.
|
|
|
|
package com.project.classicpaper.application;
|
|
|
|
|
|
|
|
|
|
import com.project.base.domain.result.PageResult;
|
|
|
|
|
import com.project.base.domain.result.Result;
|
|
|
|
|
import com.project.classicpaper.domain.dto.ClassicPaperSetDTO;
|
|
|
|
|
import com.project.classicpaper.domain.param.ClassicPaperSetParam;
|
|
|
|
|
|
|
|
|
|
public interface ClassicPaperSetApplicationService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量生成经典套题(N个版本),返回套题组信息
|
|
|
|
|
*/
|
|
|
|
|
Result<ClassicPaperSetDTO> generate(ClassicPaperSetDTO request) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 套题组列表
|
|
|
|
|
*/
|
|
|
|
|
Result<PageResult<ClassicPaperSetDTO>> list(ClassicPaperSetParam param);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 套题组详情(含所有版本及其题目列表)
|
|
|
|
|
*/
|
|
|
|
|
Result<ClassicPaperSetDTO> getDetail(Long setId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 废弃套题组(连带所有版本)
|
|
|
|
|
*/
|
|
|
|
|
Result<String> delete(Long setId) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 保存固化:全量保存套题组所有版本,校验通过后锁定为CONFIRMED
|
|
|
|
|
*/
|
|
|
|
|
Result<ClassicPaperSetDTO> save(ClassicPaperSetDTO request) throws Exception;
|
|
|
|
|
}
|