test .
This commit is contained in:
@@ -374,9 +374,11 @@ public class DeviceUploadLogService : IDeviceUploadLogService
|
||||
public async Task Test()
|
||||
{
|
||||
var data = await _dbContext.Queryable<DeviceUploadLogEntity>().OrderBy(x => x.Id).SingleAsync();
|
||||
var tableName = "deviceuploadlog_20250107";
|
||||
await _dbContext.Client.Insertable(data).AS(tableName).ExecuteCommandAsync();
|
||||
await _dbContext.DeleteReallyAsync(data);
|
||||
|
||||
var tableName = "deviceuploadlog_20250107";
|
||||
data.Id = 0;
|
||||
await _dbContext.Client.Insertable(data).AS(tableName).ExecuteCommandAsync();
|
||||
}
|
||||
|
||||
public async Task<DateTimePeriod> GetDeviceUploadRecordSettingAsync(string deviceNo)
|
||||
|
||||
Reference in New Issue
Block a user