forked from github/dataease
Merge pull request #9803 from dataease/pr@dev-v2@fix_his-copy
fix(仪表板): 修复历史仪表板复制出现大小变形问题 #9596
This commit is contained in:
commit
a2bdec418c
@ -109,6 +109,7 @@ public class CoreVisualizationManage {
|
||||
|
||||
@XpackInteract(value = "visualizationResourceTree", before = false)
|
||||
public Long innerSave(DataVisualizationInfo visualizationInfo) {
|
||||
visualizationInfo.setVersion(3);
|
||||
return preInnerSave(visualizationInfo);
|
||||
}
|
||||
|
||||
@ -123,7 +124,6 @@ public class CoreVisualizationManage {
|
||||
visualizationInfo.setCreateTime(System.currentTimeMillis());
|
||||
visualizationInfo.setUpdateTime(System.currentTimeMillis());
|
||||
visualizationInfo.setOrgId(AuthUtils.getUser().getDefaultOid());
|
||||
visualizationInfo.setVersion(3);
|
||||
mapper.insert(visualizationInfo);
|
||||
coreOptRecentManage.saveOpt(visualizationInfo.getId(), OptConstants.OPT_RESOURCE_TYPE.VISUALIZATION, OptConstants.OPT_TYPE.NEW);
|
||||
return visualizationInfo.getId();
|
||||
|
Loading…
Reference in New Issue
Block a user