From db3d504e9d53c3851b51d9e383e22c95b1fc9ea4 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 10 二月 2025 09:48:32 +0800
Subject: [PATCH] 备份数据库sql
---
pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/special/SpecialCtrl.java | 33 +++++++++++++++++++++++++++++----
1 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/special/SpecialCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/special/SpecialCtrl.java
index 5bc276d..8df2bf7 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/special/SpecialCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/special/SpecialCtrl.java
@@ -5,7 +5,7 @@
import com.dy.common.webUtil.BaseResponseUtils;
import com.dy.common.webUtil.QueryResultVo;
import com.dy.common.webUtil.ResultCodeMsg;
-import com.dy.pipIrrGlobal.voLargeScreen.VoBaseInfo;
+import com.dy.pipIrrGlobal.voSpecial.CoAbnormalCloseValve;
import com.dy.pipIrrGlobal.voSpecial.VoSteal;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Content;
@@ -28,7 +28,7 @@
/**
* @Author: liurunyu
* @Date: 2025/2/7 13:52
- * @Description 涓撻噺缁熻
+ * @Description 涓撻缁熻
*/
@Slf4j
@Tag(name = "涓撻缁熻", description = "涓撻缁熻")
@@ -53,9 +53,9 @@
@ApiResponses(value = {
@ApiResponse(
responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
- description = "娑夊珜鍋锋按缁熻锛圔aseResponse.content:VoBaseInfo{}锛�",
+ description = "娑夊珜鍋锋按缁熻锛圔aseResponse.content:QueryResultVo{[VoSteal{}]}锛�",
content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
- schema = @Schema(implementation = VoBaseInfo.class))}
+ schema = @Schema(implementation = VoSteal.class))}
)
})
@GetMapping(path = "steal")
@@ -68,4 +68,29 @@
return BaseResponseUtils.buildSuccess(res);
}
+ /**
+ * 寮傚父鍏抽榾
+ * @return
+ */
+ @Operation(summary = "寮傚父鍏抽榾", description = "寮傚父鍏抽榾缁熻")
+ @ApiResponses(value = {
+ @ApiResponse(
+ responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
+ description = "寮傚父鍏抽榾缁熻锛圔aseResponse.content:QueryResultVo{[VoSteal{}]}锛�",
+ content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
+ schema = @Schema(implementation = CoAbnormalCloseValve.class))}
+ )
+ })
+ @GetMapping(path = "abnormalCloseValve")
+ @SsoAop()
+ public BaseResponse<QueryResultVo<List<CoAbnormalCloseValve>>> abnormalCloseValve(@Valid QoAbnormalCloseValve qo, BindingResult bindingResult) throws Exception {
+ if(bindingResult != null && bindingResult.hasErrors()){
+ return BaseResponseUtils.buildFail(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage());
+ }
+ QueryResultVo<List<CoAbnormalCloseValve>> res = this.sv.abnormalCloseValve(qo);
+ return BaseResponseUtils.buildSuccess(res);
+ }
+
+
+
}
--
Gitblit v1.8.0