|
@ -47,6 +47,7 @@ namespace BBWY.Server.Business |
|
|
var updateList = currentRoundList.Where(x => dbList.Any(y => y.Api == x.Api)) |
|
|
var updateList = currentRoundList.Where(x => dbList.Any(y => y.Api == x.Api)) |
|
|
.Select(x => fsql.Update<ApiExecutionTimes>() |
|
|
.Select(x => fsql.Update<ApiExecutionTimes>() |
|
|
.Set(a => a.Count + x.Count) |
|
|
.Set(a => a.Count + x.Count) |
|
|
|
|
|
.Set(a => a.UpdateTime, DateTime.Now) |
|
|
.Where(a => a.Api == x.Api && a.Date == today)) |
|
|
.Where(a => a.Api == x.Api && a.Date == today)) |
|
|
.ToList(); |
|
|
.ToList(); |
|
|
|
|
|
|
|
|