| | |
| | | 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(); |
| | | } |
| | | } |
| | | } |