forked from github/dataease
fix: 保存默认仪表板时创建人不对问题
This commit is contained in:
parent
9bd75d6a41
commit
cce1ac4ba2
@ -92,6 +92,7 @@ public class PanelGroupService {
|
||||
newDefaultPanel.setPid(PanelConstants.PANEL_GATHER_DEFAULT_PANEL);
|
||||
newDefaultPanel.setLevel(0);
|
||||
newDefaultPanel.setSource(request.getId());
|
||||
newDefaultPanel.setCreateBy(AuthUtils.getUser().getUsername());
|
||||
checkPanelName(newDefaultPanel.getName(), newDefaultPanel.getPid(), PanelConstants.OPT_TYPE_INSERT, newDefaultPanel.getId());
|
||||
panelGroupMapper.insertSelective(newDefaultPanel);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user