|
|
@@ -293,6 +293,7 @@ public class DashboardsService {
|
|
|
String[] idArray = chartIds.split(",");
|
|
|
for (int i = 0, len = idArray.length; i < len; i++) {
|
|
|
ChartConfig chartConfig = chartsConfigMapper.getOneChart(Integer.valueOf(idArray[i]));
|
|
|
+ chartConfig.setChartName(chartConfig.getChartName() + "_副本");
|
|
|
chartConfig.setCreateBy(userName);
|
|
|
chartConfig.setCreateId(userId);
|
|
|
chartConfig.setDataId(dataSourceId);
|
|
|
@@ -303,6 +304,7 @@ public class DashboardsService {
|
|
|
//复制报表
|
|
|
int dashboardCreatorId = dashboardsMapper.getCreateIdById(dashboardId);
|
|
|
Dashboards dashboards = dashboardsMapper.getDashboards(dashboardCreatorId, dashboardId);
|
|
|
+ dashboards.setBdName(dashboards.getBdName() + "_副本");
|
|
|
dashboards.setCreateBy(userName);
|
|
|
dashboards.setCreateId(userId);
|
|
|
dashboards.setDemo(false);
|