diff --git a/pom.xml b/pom.xml
index db3b4c4..7baf482 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,6 +104,13 @@
1.2.3
+
+
+ org.springframework.boot
+ spring-boot-starter-validation
+ 3.0.0
+
+
com.alibaba
diff --git a/src/main/java/org/nl/qrobot/apt/anomalyInfo/controller/AnomalyInfoController.java b/src/main/java/org/nl/qrobot/apt/anomalyInfo/controller/AnomalyInfoController.java
index 203f124..3a59806 100644
--- a/src/main/java/org/nl/qrobot/apt/anomalyInfo/controller/AnomalyInfoController.java
+++ b/src/main/java/org/nl/qrobot/apt/anomalyInfo/controller/AnomalyInfoController.java
@@ -4,22 +4,22 @@ import cn.dev33.satoken.annotation.SaIgnore;
import com.alibaba.excel.EasyExcel;
import org.nl.qrobot.apt.anomalyInfo.dao.ErrorHandling;
import org.nl.qrobot.apt.anomalyInfo.dao.ErrorInfo;
+import org.nl.qrobot.apt.anomalyInfo.param.QueryExceptionRecordParam;
import org.nl.qrobot.apt.anomalyInfo.service.AnomalyInfoService;
import org.nl.qrobot.apt.anomalyInfo.service.ErrorHandlingService;
import org.nl.qrobot.apt.anomalyInfo.service.ErrorInfoService;
+import org.nl.qrobot.apt.anomalyInfo.service.ExceptionRecordService;
import org.nl.qrobot.apt.vehicle.ProcessZip;
import org.nl.qrobot.common.BadRequestException;
import org.nl.qrobot.common.excel.ErrorHandlingListener;
import org.nl.qrobot.common.excel.ErrorInfoListener;
+import org.nl.qrobot.common.logging.annotation.Log;
import org.nl.qrobot.config.file.FileProperties;
import org.nl.qrobot.config.language.LangProcess;
import org.nl.qrobot.util.FileConstant;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
@@ -44,7 +44,7 @@ public class AnomalyInfoController {
private ErrorHandlingService errorHandlingService;
@Resource
- private FileProperties properties;
+ private ExceptionRecordService exceptionRecordService;
@Resource
private ProcessZip processZip;
@@ -55,6 +55,13 @@ public class AnomalyInfoController {
return new ResponseEntity<>(anomalyInfoService.queryErrorDataByCode(code), HttpStatus.OK);
}
+ @SaIgnore
+ @Log("查询异常记录分页")
+ @PostMapping("/queryExceptionRecordPage")
+ public ResponseEntity