|
@@ -3,9 +3,9 @@ package cn.com.qmth.stmms.ms.log.controller;
|
|
import cn.com.qmth.stmms.ms.commons.utils.specification.PagingAndSortingDTO;
|
|
import cn.com.qmth.stmms.ms.commons.utils.specification.PagingAndSortingDTO;
|
|
import cn.com.qmth.stmms.ms.core.domain.MarkLog;
|
|
import cn.com.qmth.stmms.ms.core.domain.MarkLog;
|
|
import cn.com.qmth.stmms.ms.core.repository.MarkLogRepo;
|
|
import cn.com.qmth.stmms.ms.core.repository.MarkLogRepo;
|
|
-import io.swagger.annotations.Api;
|
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
|
-import io.swagger.annotations.ApiParam;
|
|
|
|
|
|
+//import io.swagger.annotations.Api;
|
|
|
|
+//import io.swagger.annotations.ApiOperation;
|
|
|
|
+//import io.swagger.annotations.ApiParam;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.PageRequest;
|
|
import org.springframework.data.domain.PageRequest;
|
|
@@ -22,7 +22,7 @@ import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
|
|
|
|
-@Api(tags = "纪检审计接口controller")
|
|
|
|
|
|
+//@Api(tags = "纪检审计接口controller")
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("api/marklog")
|
|
@RequestMapping("api/marklog")
|
|
public class MarkLogController {
|
|
public class MarkLogController {
|
|
@@ -30,14 +30,21 @@ public class MarkLogController {
|
|
@Autowired
|
|
@Autowired
|
|
MarkLogRepo markLogRepo;
|
|
MarkLogRepo markLogRepo;
|
|
|
|
|
|
- @ApiOperation(value = "纪检审计查询接口")
|
|
|
|
|
|
+// @ApiOperation(value = "纪检审计查询接口")
|
|
@GetMapping("/selectMarkLog")
|
|
@GetMapping("/selectMarkLog")
|
|
- public PagingAndSortingDTO selectMarkLog(@ApiParam(value = "科目", required = false) @RequestParam(required = false) String subject,
|
|
|
|
- @ApiParam(value = "准考证号", required = false) @RequestParam(required = false) Long examNumber,
|
|
|
|
- @ApiParam(value = "学生姓名", required = false) @RequestParam(required = false) String studentName,
|
|
|
|
- @ApiParam(value = "操作类型(1:分档,2:打分,3:回评档位,4:回评分数,5:档位打回,6:档位打回回评,7:一键定档,8:标准卷设置)", required = false) @RequestParam(required = false) Integer operType,
|
|
|
|
- @ApiParam(value = "开始时间", required = false) @RequestParam(required = false) String startTime,
|
|
|
|
- @ApiParam(value = "结束时间", required = false) @RequestParam(required = false) String endTime,
|
|
|
|
|
|
+ public PagingAndSortingDTO selectMarkLog(
|
|
|
|
+// @ApiParam(value = "科目", required = false)
|
|
|
|
+ @RequestParam(required = false) String subject,
|
|
|
|
+// @ApiParam(value = "准考证号", required = false)
|
|
|
|
+ @RequestParam(required = false) Long examNumber,
|
|
|
|
+// @ApiParam(value = "学生姓名", required = false)
|
|
|
|
+ @RequestParam(required = false) String studentName,
|
|
|
|
+// @ApiParam(value = "操作类型(1:分档,2:打分,3:回评档位,4:回评分数,5:档位打回,6:档位打回回评,7:一键定档,8:标准卷设置)", required = false)
|
|
|
|
+ @RequestParam(required = false) Integer operType,
|
|
|
|
+// @ApiParam(value = "开始时间", required = false)
|
|
|
|
+ @RequestParam(required = false) String startTime,
|
|
|
|
+// @ApiParam(value = "结束时间", required = false)
|
|
|
|
+ @RequestParam(required = false) String endTime,
|
|
@RequestParam Integer curPage,
|
|
@RequestParam Integer curPage,
|
|
@RequestParam Integer pageSize) {
|
|
@RequestParam Integer pageSize) {
|
|
Pageable pageable = new PageRequest(curPage, pageSize, Sort.Direction.DESC, "createTime");
|
|
Pageable pageable = new PageRequest(curPage, pageSize, Sort.Direction.DESC, "createTime");
|