tangxu
2024-06-07 18a1a6faf82b1ad00d27f6fc7f5734c34aea32df
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();
                    }
                }
            }