|
|
|
@ -3,10 +3,12 @@ package com.ibeetl.jlw.web;
|
|
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import cn.jlw.Interceptor.GetFile;
|
|
|
|
|
|
|
|
|
|
import cn.jlw.Interceptor.RFile;
|
|
|
|
|
import cn.jlw.Interceptor.SCoreUser;
|
|
|
|
|
import cn.jlw.util.ToolUtils;
|
|
|
|
|
import cn.jlw.validate.ValidateConfig;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Function;
|
|
|
|
|
import com.ibeetl.admin.core.entity.CoreUser;
|
|
|
|
|
import com.ibeetl.admin.core.file.FileService;
|
|
|
|
@ -706,14 +708,16 @@ public class StudentHandsOnTaskTheoryController {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping(API + "/addCourseCentreTheoreticalEvaluationTask.do")
|
|
|
|
|
public JsonResult<String> addTheoreticalEvaluation(@Validated(ValidateConfig.UPDATE.class) @RequestBody List<TeacherOpenCourseMergeResourcesQuestionVO> teacherOpenCourseMergeResourcesQuestionQuery,
|
|
|
|
|
public JsonResult<String> addTheoreticalEvaluation(String teacherOpenCourseMergeResourcesQuestionQuery,
|
|
|
|
|
@SCoreUser CoreUser coreUser,
|
|
|
|
|
Integer temporarily,
|
|
|
|
|
Integer courseType) {
|
|
|
|
|
if (ObjectUtil.isEmpty(courseType)){
|
|
|
|
|
return JsonResult.failMessage("缺少课程类型" );
|
|
|
|
|
}
|
|
|
|
|
return studentHandsOnTaskTheoryService.addTheoreticalEvaluation(teacherOpenCourseMergeResourcesQuestionQuery, coreUser, temporarily,courseType);
|
|
|
|
|
List<TeacherOpenCourseMergeResourcesQuestionVO> teacherOpenCourseMergeResourcesQuestionVOS = JSONObject.parseArray(teacherOpenCourseMergeResourcesQuestionQuery,TeacherOpenCourseMergeResourcesQuestionVO.class);
|
|
|
|
|
|
|
|
|
|
return studentHandsOnTaskTheoryService.addTheoreticalEvaluation(teacherOpenCourseMergeResourcesQuestionVOS, coreUser, temporarily,courseType);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|