From 39579aa528747af7ca7b17b04453095e2a27a009 Mon Sep 17 00:00:00 2001
From: tangxu <tangxu76880903>
Date: 星期六, 04 五月 2024 17:48:09 +0800
Subject: [PATCH] 添加水量预测API接口

---
 WaterPredict/IStation.ChEr.Application.WaterPredict/01-info/Debug_Controller.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/WaterPredict/IStation.ChEr.Application.WaterPredict/01-info/Debug_Controller.cs b/WaterPredict/IStation.ChEr.Application.WaterPredict/01-info/Debug_Controller.cs
index aaca264..8f9ca43 100644
--- a/WaterPredict/IStation.ChEr.Application.WaterPredict/01-info/Debug_Controller.cs
+++ b/WaterPredict/IStation.ChEr.Application.WaterPredict/01-info/Debug_Controller.cs
@@ -23,7 +23,17 @@
             return "ok";
         }
 
-       
+        /// <summary>
+        ///  鏈�杩�3鏉¤褰�
+        /// </summary>
+        [Route("GetLastRecord3")]
+        [HttpGet]
+        public List<IStation.ChEr.Model.WaterPredict> GetLastRecord3()
+        {
+            IStation.ChEr.BLL.WaterPredict bll = new ChEr.BLL.WaterPredict();
+
+            return bll.GetLast(3);
+        }
         /// <summary>
         /// 淇濆瓨鍒版暟鎹簱
         /// </summary>

--
Gitblit v1.9.3