|
|
|
@ -137,6 +137,23 @@ public class GeneralQuestionLogController extends BaseController {
|
|
|
|
|
return JsonResult.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取已经提交的
|
|
|
|
|
*
|
|
|
|
|
* @param questionLogIds 获取提交交卷的题目日志记录IDs
|
|
|
|
|
* @param coreUser 用来验证用户登录,为了解耦不会传递到Service层
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping(API + "/getSubmittedAnswer.do")
|
|
|
|
|
public JsonResult getSubmittedAnswer(@RequestBody String questionLogIds, @SCoreUser CoreUser coreUser) {
|
|
|
|
|
GeneralQuestionLogQuery logQuery = new GeneralQuestionLogQuery();
|
|
|
|
|
logQuery.setGeneralQuestionLogIdPlural(questionLogIds);
|
|
|
|
|
logQuery.setQuestionLogAddType(FINALLY_SUBMIT);
|
|
|
|
|
logQuery.setUserId(coreUser.getId());
|
|
|
|
|
return JsonResult.success(generalQuestionLogService.getValuesByQueryNotWithPermission(logQuery));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 教师端-手动批改一些题目的分数
|
|
|
|
|
*
|
|
|
|
|