test .
This commit is contained in:
@@ -374,7 +374,7 @@ public class DeviceUploadLogService : IDeviceUploadLogService
|
||||
public async Task Test()
|
||||
{
|
||||
var before60Days = DateTime.Today.AddDays(-60).AddSeconds(1);
|
||||
var data = await _dbContext.Queryable<DeviceUploadLogEntity>().Where(x => x.RaiseDateTime < before60Days).OrderBy(x => x.Id).ToPageListAsync(1, 1000);
|
||||
var data = await _dbContext.Queryable<DeviceUploadLogEntity>().Where(x => x.RaiseDateTime < before60Days).OrderBy(x => x.Id).ToPageListAsync(1, 500);
|
||||
await _dbContext.DeleteReallyAsync(data);
|
||||
|
||||
const string tableName = "deviceuploadlog_20250107";
|
||||
|
||||
Reference in New Issue
Block a user