|
@@ -440,6 +440,7 @@ public class RoomService {
|
|
|
UpdateWrapper<CareDevice> updateWrapper = new UpdateWrapper<>();
|
|
|
updateWrapper.lambda().eq(CareDevice::getId,careDevice.getId())
|
|
|
.set(CareDevice::getStatus,careDevice.getStatus())
|
|
|
+ .set(CareDevice::getActiveStatus,careDevice.getActiveStatus())
|
|
|
.set(CareDevice::getActiveTime, careDevice.getActiveTime());
|
|
|
careDeviceService.update(updateWrapper);
|
|
|
//careDeviceService.updateById(careDevice);
|