fix 默认为1写入
This commit is contained in:
@@ -69,7 +69,9 @@ public class DeviceUploadLogService : IDeviceUploadLogService
|
||||
: DeviceUploadLogTypeEnumType.Door,
|
||||
|
||||
TenantId = device.TenantId,
|
||||
Status = true
|
||||
Status = true,
|
||||
CreatedBy = 1,
|
||||
ModifiedBy = 1,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -147,7 +149,9 @@ public class DeviceUploadLogService : IDeviceUploadLogService
|
||||
: DeviceUploadLogTypeEnumType.Door,
|
||||
|
||||
TenantId = device.TenantId,
|
||||
Status = request.Status
|
||||
Status = request.Status ?? true,
|
||||
CreatedBy = 1,
|
||||
ModifiedBy = 1,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user