优化行号

This commit is contained in:
zhou-hao 2020-06-08 18:23:22 +08:00
parent b1be08412c
commit 6d40971faa
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ public class DeviceInstanceController implements
DeviceInstanceEntity entity = FastBeanCopier.copy(info, new DeviceInstanceEntity());
entity.setProductId(productId);
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());
})