|
@@ -2430,14 +2430,15 @@ func (this *ChartInfoController) CopyChartInfo() {
|
|
|
ChartImage: oldChartInfo.ChartImage,
|
|
|
BarConfig: oldChartInfo.BarConfig,
|
|
|
//Sort: sort,
|
|
|
- LeftMin: oldChartInfo.LeftMin,
|
|
|
- LeftMax: oldChartInfo.LeftMax,
|
|
|
- RightMin: oldChartInfo.RightMin,
|
|
|
- RightMax: oldChartInfo.RightMax,
|
|
|
- Disabled: oldChartInfo.Disabled,
|
|
|
- Source: oldChartInfo.Source,
|
|
|
- ExtraConfig: oldChartInfo.ExtraConfig,
|
|
|
- StartYear: oldChartInfo.StartYear,
|
|
|
+ LeftMin: oldChartInfo.LeftMin,
|
|
|
+ LeftMax: oldChartInfo.LeftMax,
|
|
|
+ RightMin: oldChartInfo.RightMin,
|
|
|
+ RightMax: oldChartInfo.RightMax,
|
|
|
+ Disabled: oldChartInfo.Disabled,
|
|
|
+ Source: oldChartInfo.Source,
|
|
|
+ ExtraConfig: oldChartInfo.ExtraConfig,
|
|
|
+ SeasonExtraConfig: oldChartInfo.SeasonExtraConfig,
|
|
|
+ StartYear: oldChartInfo.StartYear,
|
|
|
}
|
|
|
newId, err := data_manage.AddChartInfo(chartInfo)
|
|
|
if err != nil {
|