|
@@ -379,7 +379,7 @@ public class DeviceInstanceController implements
|
|
DeviceInstanceEntity entity = FastBeanCopier.copy(info, new DeviceInstanceEntity());
|
|
DeviceInstanceEntity entity = FastBeanCopier.copy(info, new DeviceInstanceEntity());
|
|
entity.setProductId(productId);
|
|
entity.setProductId(productId);
|
|
if (StringUtils.isEmpty(entity.getId())) {
|
|
if (StringUtils.isEmpty(entity.getId())) {
|
|
- throw new BusinessException("第" + info.getRowNumber() + 1 + "行:设备ID不能为空");
|
|
|
|
|
|
+ throw new BusinessException("第" + (info.getRowNumber() + 1) + "行:设备ID不能为空");
|
|
}
|
|
}
|
|
return Tuples.of(entity, info.getTags());
|
|
return Tuples.of(entity, info.getTags());
|
|
})
|
|
})
|