提交 8f0a9d77 authored 作者: zhoushaopan's avatar zhoushaopan

fix(装备模块): 修改查询单个装备查询不到,抛详细的异常信息

修改查询单个装备查询不到,抛详细的异常信息
上级 7060fc16
...@@ -1494,7 +1494,7 @@ public class DeviceLibraryServiceImpl implements DeviceLibraryService { ...@@ -1494,7 +1494,7 @@ public class DeviceLibraryServiceImpl implements DeviceLibraryService {
return deviceLibraryEntity.get().setConfigName(); return deviceLibraryEntity.get().setConfigName();
} }
else { else {
throw new ApiException("查询的装备Id不存在"); throw new ApiException(String.format("查询的装备Id不存在,查询的Id为 %d", id));
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论