fix framework

This commit is contained in:
2024-04-01 17:58:08 +08:00
parent 7cdf973c3e
commit 2c91eda6a0
25 changed files with 28 additions and 118 deletions

View File

@@ -56,7 +56,7 @@ public class DeviceUploadLogService : IDeviceUploadLogService
public async Task UploadLogsAsync(List<DeviceUploadLogUploadRequest> requests)
{
//判断存在的记录
Expression<Func<DeviceUploadLogEntity, bool>> where = LinqExpressionExtension.False<DeviceUploadLogEntity>();
Expression<Func<DeviceUploadLogEntity, bool>> where = LinqExpressionExtensions.False<DeviceUploadLogEntity>();
requests.ForEach(p =>
{
where = where.Or(x => x.DeviceUniqueNo == p.DeviceUniqueNo && x.SerialNo == p.SerialNo && x.RaiseDateTime == p.RaiseDateTime);