Commit ca27511f authored by linruibiao's avatar linruibiao

接口编写

parent 13f17930
......@@ -156,8 +156,10 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe
delAllSetting(id);
log.info("删除仪表板草稿表");
InstrumentPanelDraft draft =draftService.getByPanelId(id);
draft.setRecordStatus(SlmConstants.DATA_DELETED);
draftService.updateById(draft);
if(ObjectUtils.isNotEmpty(draft)) {
draft.setRecordStatus(SlmConstants.DATA_DELETED);
draftService.updateById(draft);
}
return id;
}
......
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