|
@@ -21,6 +21,7 @@ import com.xhkjedu.utils.N_Utils;
|
21
|
21
|
import com.xhkjedu.utils.PageUtil;
|
22
|
22
|
import com.xhkjedu.vo.PageResult;
|
23
|
23
|
import com.xhkjedu.vo.ResultVo;
|
|
24
|
+import lombok.extern.slf4j.Slf4j;
|
24
|
25
|
import org.springframework.web.bind.annotation.PostMapping;
|
25
|
26
|
import org.springframework.web.bind.annotation.RequestBody;
|
26
|
27
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -39,6 +40,7 @@ import java.util.stream.Collectors;
|
39
|
40
|
* @description 考试基础信息
|
40
|
41
|
* @date 2022/7/18 9:26
|
41
|
42
|
**/
|
|
43
|
+@Slf4j
|
42
|
44
|
@RestController
|
43
|
45
|
@RequestMapping("/eb")
|
44
|
46
|
public class EBaseController {
|
|
@@ -489,6 +491,7 @@ public class EBaseController {
|
489
|
491
|
eBaseService.generateExamReport(examid, createid);
|
490
|
492
|
return new ResultVo(0, "生成成功");
|
491
|
493
|
} catch (Exception e) {
|
|
494
|
+ log.error("生成失败:"+e.getMessage());
|
492
|
495
|
return new ResultVo(1, "生成失败");
|
493
|
496
|
}
|
494
|
497
|
}
|