提交记录修改Core/Servicers/Instances/Data.cs+1 −1看文件
| @@ -462,7 +462,7 @@ namespace Core.Servicers.Instances | ||
| 462 | 462 | using (var db = new TaiDbContext()) |
| 463 | 463 | { |
| 464 | 464 | |
| 465 | 删除: var data = db.Database.SqlQuery<ColumnItemDataModel>("select sum(Time) as Total,AppModelID as AppID,DataTime as Time from HoursLogModels where AppModelID=" + appID + " and DataTime>='" + date.Date.ToString("yyyy-MM-dd HH:mm:ss") + "' and DataTime<= '" + date.Date.ToString("yyyy-MM-dd 23:59:59") + "' GROUP BY AppModelID ").ToArray(); | |
| 465 | 新增: var data = db.Database.SqlQuery<ColumnItemDataModel>("select sum(Time) as Total,AppModelID as AppID,DataTime as Time from HoursLogModels where AppModelID=" + appID + " and DataTime>='" + date.Date.ToString("yyyy-MM-dd HH:mm:ss") + "' and DataTime<= '" + date.Date.ToString("yyyy-MM-dd 23:59:59") + "' GROUP BY AppModelID,DataTime ").ToArray(); | |
| 466 | 466 | |
| 467 | 467 | |
| 468 | 468 | List<ColumnDataModel> list = new List<ColumnDataModel>(); |

