From 90c326533ce32b8f6b86df7c6bf9b30b12c6256e Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期一, 08 一月 2024 21:04:13 +0800
Subject: [PATCH] 修改取水口提示信息

---
 pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java
index 7261b2c..56e50c2 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java
@@ -10,7 +10,6 @@
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
-
 import java.util.List;
 import java.util.Map;
 
@@ -131,4 +130,31 @@
     public int delete(Long id){
         return this.prIntakeMapper.deleteLogicById(id) ;
     }
+
+    /**
+     * 鏍规嵁鍙栨按鍙g紪鍙疯幏鍙栨湭鍒犻櫎鐨勫彇姘村彛鏁伴噺
+     * @param intakeId
+     * @return
+     */
+    public Integer getRecordCountOfIntake(Long intakeId) {
+        return prIntakeMapper.getRecordCountOfIntake(intakeId);
+    }
+
+    /**
+     * 鏍规嵁鏉慖d鑾峰彇鍏ㄩ儴鍦板潃
+     * @param villageId 鏉慖d
+     * @return  address  鍏ㄩ儴浜旂骇鍦板潃
+     */
+    public String getAddressByVillageId(long villageId){
+        return prIntakeMapper.getAddressByVillageId(villageId);
+    }
+
+    /**
+     * 鏍规嵁鍖哄煙Id鑾峰彇鍖哄煙绛夌骇
+     * @param regionId 鍖哄煙Id
+     * @return  Level  鍖哄煙绛夌骇
+     */
+    public int getLevelByRegionId(long regionId){
+        return prIntakeMapper.getLevelByRegionId(regionId);
+    }
 }

--
Gitblit v1.8.0