From 4c6fcde6404479dc00e14733c37efe4fd3799cf5 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期一, 16 十二月 2024 10:24:53 +0800
Subject: [PATCH] 优化接口 获得全部取水口  重构返回结构,增加片区名称字段、增加县镇村名称字段

---
 pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeCtrl.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeCtrl.java
index 151ef98..cb60cfe 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeCtrl.java
@@ -9,6 +9,7 @@
 import com.dy.pipIrrGlobal.excel.CellWriteHandler;
 import com.dy.pipIrrGlobal.excel.ExcelUtil;
 import com.dy.pipIrrGlobal.pojoPr.PrIntake;
+import com.dy.pipIrrGlobal.voPr.VoAllIntake;
 import com.dy.pipIrrGlobal.voPr.VoIntake;
 import com.dy.pipIrrGlobal.voPr.VoOnLineIntake;
 import com.dy.pipIrrGlobal.voSe.VoActiveCard;
@@ -75,9 +76,9 @@
     })
     @GetMapping(path = "all")
     @SsoAop()
-    public BaseResponse<QueryResultVo<List<PrIntake>>> all() {
+    public BaseResponse<QueryResultVo<List<VoAllIntake>>> all() {
         try {
-            QueryResultVo<List<PrIntake>> res = this.intakeSv.selectAll();
+            QueryResultVo<List<VoAllIntake>> res = this.intakeSv.selectAll();
             if (res == null) {
                 return BaseResponseUtils.buildErrorMsg(ProjectResultCode.NO_INTAKES.getMessage());
             } else {

--
Gitblit v1.8.0