完成试卷生成的方法 test3--By Ternece
This commit is contained in:
parent
57c275e242
commit
21ee444e3f
@ -18,7 +18,7 @@ public class ExaminationPaperProductionController extends BaseApiController {
|
||||
|
||||
private final ExaminationPaperProductionService examinationPaperProductionService;
|
||||
|
||||
@RequestMapping(value = "/production", method = RequestMethod.GET)
|
||||
@RequestMapping(value = "/production", method = RequestMethod.POST)
|
||||
public RestResponse paperProduction(@RequestBody @Valid ExaminationProductionVM examinationProductionVM){
|
||||
List<Question> questionList = examinationPaperProductionService.generation(examinationProductionVM);
|
||||
return RestResponse.ok(questionList);
|
||||
|
@ -237,9 +237,9 @@
|
||||
>
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from <foreach collection=""t_question
|
||||
from t_question
|
||||
<where>
|
||||
q.deleted=0
|
||||
deleted=0
|
||||
<if test="difficult != null">
|
||||
and difficult = #{difficult}
|
||||
</if>
|
||||
|
Loading…
Reference in New Issue
Block a user