|
|
@@ -120,6 +120,9 @@ public class DeviceGroupService extends SuperService {
|
|
|
}
|
|
|
|
|
|
List<DeviceInfo> list = deviceInfoDao.findByDeviceIdIn(param.getDeviceIds());
|
|
|
+ if (ObjectUtils.isEmpty(list)) {
|
|
|
+ return ResultContent.buildFail("未查询到设备");
|
|
|
+ }
|
|
|
if (ObjectUtils.isNotEmpty(list)) {
|
|
|
List<DeviceGroupToDevice> saveList = new ArrayList<>();
|
|
|
for (DeviceInfo deviceInfo : list) {
|