|
@@ -18,6 +18,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.Arrays;
|
|
import java.util.Arrays;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
@@ -30,7 +31,7 @@ import java.util.List;
|
|
|
@Api(value = "考试重点控制器", tags = {"考试重点管理"})
|
|
@Api(value = "考试重点控制器", tags = {"考试重点管理"})
|
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
|
@RestController
|
|
@RestController
|
|
|
-@RequestMapping("/exam/note")
|
|
|
|
|
|
|
+@RequestMapping("/app/common/exam/note")
|
|
|
public class ExamNoteController extends BaseController {
|
|
public class ExamNoteController extends BaseController {
|
|
|
|
|
|
|
|
private final IExamNoteService iExamNoteService;
|
|
private final IExamNoteService iExamNoteService;
|
|
@@ -41,6 +42,9 @@ public class ExamNoteController extends BaseController {
|
|
|
@ApiOperation("查询考试重点列表")
|
|
@ApiOperation("查询考试重点列表")
|
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo<ExamNoteVo> list(ExamNoteQueryBo bo) {
|
|
public TableDataInfo<ExamNoteVo> list(ExamNoteQueryBo bo) {
|
|
|
|
|
+ List<Integer> statusList = new ArrayList<>();
|
|
|
|
|
+ statusList.add(1);
|
|
|
|
|
+ bo.setStatus(statusList);
|
|
|
startPage();
|
|
startPage();
|
|
|
List<ExamNoteVo> list = iExamNoteService.selectExamNoteList(bo);
|
|
List<ExamNoteVo> list = iExamNoteService.selectExamNoteList(bo);
|
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|