fix 框架调整,优化数据返回

This commit is contained in:
2024-02-23 16:20:24 +08:00
parent ef782d6892
commit f255a87138
36 changed files with 534 additions and 34 deletions

View File

@@ -46,7 +46,6 @@ public class DeviceUploadLogService : IDeviceUploadLogService
return page;
}
[IgnoreTenant]
public async Task UploadLogAsync(DeviceUploadLogUploadRequest request)
{
var device = await _dbContext.Queryable<DeviceEntity>().Where(x => x.UniqueNo == request.DeviceUniqueNo).SingleAsync();
@@ -63,7 +62,7 @@ public class DeviceUploadLogService : IDeviceUploadLogService
await _dbContext.InsertAsync(entity);
}
[IgnoreTenant]
public async Task UploadLogsAsync(List<DeviceUploadLogUploadRequest> requests)
{
//判断存在的记录