Commit e3573800 authored by 梁光意's avatar 梁光意

修改保存仪表盘不存在的问题

parent 7d36fd49
......@@ -119,6 +119,9 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
checkAll(appId, config, permission);
InstrumentPanel panel = panelService.getById(config.getPanelId());
if (panel == null){
throw new SysException("仪表盘不存在,输入错误");
}
fillPanelProp(permission, panel,PublishedStatus.WAIT_PUBLISHED.value);
//判断是否有发布版本
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment