|
@@ -2,7 +2,6 @@ package com.qmth.teachcloud.report.api;
|
|
|
|
|
|
import com.qmth.boot.api.constant.ApiConstant;
|
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
|
-import com.qmth.teachcloud.common.enums.ExceptionResultEnum;
|
|
|
import com.qmth.teachcloud.common.util.Result;
|
|
|
import com.qmth.teachcloud.common.util.ResultUtil;
|
|
|
import com.qmth.teachcloud.report.business.service.AnalyzeForReportService;
|
|
@@ -35,7 +34,7 @@ public class DataAnalyzeController {
|
|
|
@RequestMapping(value = "/calculate", method = RequestMethod.POST)
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "{\"success\":true}", response = Result.class)})
|
|
|
- public Result configImport(@RequestParam Long schoolId, @RequestParam Long examId, @RequestParam String courseCode) throws Exception {
|
|
|
+ public Result dataCalculate(@RequestParam Long schoolId, @RequestParam Long examId, @RequestParam String courseCode) throws Exception {
|
|
|
analyzeForReportService.buildAnalyzeExamCourse(examId,courseCode);
|
|
|
analyzeForReportService.buildAnalyzeExamCourseRecord(examId, courseCode);
|
|
|
analyzeForReportService.buildAnalyzeExamCourseCollegeInspect(examId, courseCode);
|