From 18a1a6faf82b1ad00d27f6fc7f5734c34aea32df Mon Sep 17 00:00:00 2001
From: tangxu <tangxu76880903>
Date: 星期五, 07 六月 2024 15:30:23 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/IStation/shys/ChEqCalc.V1.3

---
 WaterPredict/IStation.ChEr.DAL.WaterPredict/BLL/WaterPredict.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/WaterPredict/IStation.ChEr.DAL.WaterPredict/BLL/WaterPredict.cs b/WaterPredict/IStation.ChEr.DAL.WaterPredict/BLL/WaterPredict.cs
index 65a8131..1a0c570 100644
--- a/WaterPredict/IStation.ChEr.DAL.WaterPredict/BLL/WaterPredict.cs
+++ b/WaterPredict/IStation.ChEr.DAL.WaterPredict/BLL/WaterPredict.cs
@@ -103,8 +103,9 @@
                         t.LastPredictTime = DateTime.Now;
                         t.PredictValueList = model.PredictValueList;
                         t.BakData = model.BakData;
+                        t.States = model.States;
                         t.Description = model.Description;
-                        db.Updateable<Entity.WaterPredictRecord>(t).UpdateColumns(t => new { t.LastPredictValue, t.LastPredictTime, t.PredictValueList, t.Description, t.BakData }).Where(t => t.ID == model.ID).ExecuteCommand();
+                        db.Updateable<Entity.WaterPredictRecord>(t).UpdateColumns(t => new { t.LastPredictValue, t.LastPredictTime, t.PredictValueList, t.Description, t.BakData, t.States }).Where(t => t.ID == model.ID).ExecuteCommand();
                     }
                 }
             }

--
Gitblit v1.9.3