change 4 lat temu
rodzic
commit
3aefff2357

+ 53 - 0
zhongzheng-api/src/main/java/com/zhongzheng/controller/exam/ExamArrangementController.java

@@ -0,0 +1,53 @@
+package com.zhongzheng.controller.exam;
+
+import com.zhongzheng.common.annotation.Log;
+import com.zhongzheng.common.core.controller.BaseController;
+import com.zhongzheng.common.core.domain.AjaxResult;
+import com.zhongzheng.common.core.page.TableDataInfo;
+import com.zhongzheng.common.enums.BusinessType;
+import com.zhongzheng.modules.exam.bo.*;
+import com.zhongzheng.modules.exam.service.IExamArrangementGuideService;
+import com.zhongzheng.modules.exam.service.IExamArrangementService;
+import com.zhongzheng.modules.exam.vo.ExamArrangementGuideVo;
+import com.zhongzheng.modules.exam.vo.ExamArrangementVo;
+import com.zhongzheng.modules.exam.vo.ExamUserVo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.RequiredArgsConstructor;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.Arrays;
+import java.util.List;
+
+/**
+ * 考试安排,包含考试指引Controller
+ * 
+ * @author change
+ * @date 2021-05-19
+ */
+@Api(value = "考试指南", tags = {"考试安排,学员计划,考试指南"})
+@RequiredArgsConstructor(onConstructor_ = @Autowired)
+@RestController
+@RequestMapping("/exam/arrangement")
+public class ExamArrangementController extends BaseController {
+
+    private final IExamArrangementService iExamArrangementService;
+
+    private final IExamArrangementGuideService iExamArrangementGuideService;
+
+
+
+    /**
+     * 查询考试安排,包含考试指引列表
+     */
+    @ApiOperation("考试报名指引")
+    @GetMapping("/list")
+    public TableDataInfo<ExamArrangementVo> list(ExamArrangementQueryBo bo) {
+        startPage();
+        List<ExamArrangementVo> list = iExamArrangementService.queryList(bo);
+        return getDataTable(list);
+    }
+
+}