This commit is contained in:
2025-05-07 16:41:22 +08:00
parent 1007880a0f
commit 2ba0776345

View File

@@ -373,7 +373,7 @@ public class DeviceUploadLogService : IDeviceUploadLogService
/// <inheritdoc />
public async Task Test()
{
var data = await _dbContext.Queryable<DeviceUploadLogEntity>().OrderBy(x => x.Id).SingleAsync();
var data = await _dbContext.Queryable<DeviceUploadLogEntity>().OrderBy(x => x.Id).FirstAsync();
await _dbContext.DeleteReallyAsync(data);
var tableName = "deviceuploadlog_20250107";