fix 记录上传人
This commit is contained in:
@@ -202,6 +202,7 @@ public class WorkGridScheduleService : IWorkGridScheduleService
|
||||
/// <inheritdoc />
|
||||
public async Task ManuallyUploadAsync(List<long> logIds)
|
||||
{
|
||||
var sub = _currentUser.GetIntSubjectId();
|
||||
const string filterString = "{\"IsError\":true";
|
||||
|
||||
var requests = await _dbContext.Queryable<DeviceUploadLogEntity>()
|
||||
@@ -228,6 +229,7 @@ public class WorkGridScheduleService : IWorkGridScheduleService
|
||||
await _dbContext.Updateable<DeviceUploadLogEntity>()
|
||||
.SetColumns(x => x.Sync == true)
|
||||
.SetColumns(x => x.ModifiedTime == DateTime.Now)
|
||||
.SetColumns(x => x.ModifiedBy == sub)
|
||||
.Where(x => ids.Contains(x.Id))
|
||||
.ExecuteCommandAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user