From 1a2b07f01ba4616fd9e894dddf474b56d020158c Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期一, 07 四月 2025 15:18:51 +0800
Subject: [PATCH] 整理版本

---
 pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/allRound/Ar4BaseCtrl.java |   63 +++++++++++++++++++++++++++++++
 1 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/allRound/Ar4BaseCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/allRound/Ar4BaseCtrl.java
new file mode 100644
index 0000000..7d64f28
--- /dev/null
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/allRound/Ar4BaseCtrl.java
@@ -0,0 +1,63 @@
+package com.dy.pipIrrBase.allRound;
+
+import com.dy.common.aop.SsoAop;
+import com.dy.common.webUtil.BaseResponse;
+import com.dy.common.webUtil.BaseResponseUtils;
+import com.dy.common.webUtil.ResultCodeMsg;
+import com.dy.pipIrrGlobal.voAllRound.VoArIntakeBase;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.media.Content;
+import io.swagger.v3.oas.annotations.media.Schema;
+import io.swagger.v3.oas.annotations.responses.ApiResponse;
+import io.swagger.v3.oas.annotations.responses.ApiResponses;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2025/1/14 15:56
+ * @Description 鏈夊叧鍩虹淇℃伅鐨勭患鍚�
+ */
+@Slf4j
+@Tag(name = "鏈夊叧鍩虹淇℃伅鐨勭患鍚�", description = "鏈夊叧鍩虹淇℃伅鐨勭患鍚�")
+@RestController
+@RequestMapping(path = "ar4Base")
+@SuppressWarnings("unchecked")//java鐗堟湰瓒婇珮锛屽娉涘瀷绾︽潫瓒婁弗锛屾墍浠ラ厤缃甋uppressWarnings("unchecked")
+public class Ar4BaseCtrl {
+
+    private Ar4BaseSv sv;
+
+    @Autowired
+    private void setSv(Ar4BaseSv sv) {
+        this.sv = sv;
+    }
+
+    /**
+     * 缁煎悎淇℃伅
+     * 鍙栨按鍙e熀鏈俊鎭�
+     * @return 鍙栨按鍙e熀鏈俊鎭�
+     */
+    @Operation(summary = "缁煎悎淇℃伅", description = "鍙栨按鍙e熀鏈俊鎭�")
+    @ApiResponses(value = {
+            @ApiResponse(
+                    responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
+                    description = "鍙栨按鍙e熀鏈俊鎭紙BaseResponse.content:QueryResultVo{}锛�",
+                    content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
+                            schema = @Schema(implementation = VoArIntakeBase.class))}
+            )
+    })
+    @GetMapping(path = "intakeInfo")
+    @SsoAop()
+    public BaseResponse<VoArIntakeBase> intakeInfo(Long intakeId) {
+        if (intakeId == null || intakeId.longValue() == 0L) {
+            return BaseResponseUtils.buildException("鍙栨按鍙d涓嶈兘涓虹┖");
+        }
+        VoArIntakeBase res = this.sv.intakeInfo(intakeId);
+        return BaseResponseUtils.buildSuccess(res);
+    }
+}

--
Gitblit v1.8.0