|
@@ -80,6 +80,8 @@ public class DeviceAdminActivateServiceImpl extends ServiceImpl<DeviceAdminActiv
|
|
if (deviceInfo.getActiveState() == 1) {
|
|
if (deviceInfo.getActiveState() == 1) {
|
|
throw new CommRuntimeException(deviceInfo.getDeviceId() + "已经激活,操作失败");
|
|
throw new CommRuntimeException(deviceInfo.getDeviceId() + "已经激活,操作失败");
|
|
}
|
|
}
|
|
|
|
+ });
|
|
|
|
+ deviceInfos.forEach(deviceInfo -> {
|
|
//激活对象
|
|
//激活对象
|
|
deviceInfo.setActiveState(activeState)
|
|
deviceInfo.setActiveState(activeState)
|
|
.setBusyState(busyState)
|
|
.setBusyState(busyState)
|