浏览代码

Merge branch 'feature/eta1.8.4_balance_table' into debug

xyxie 10 月之前
父节点
当前提交
85dccae2db
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      models/data_manage/excel/excel_chart_edb.go
  2. 1 1
      services/data/chart_info_excel_balance.go

+ 1 - 0
models/data_manage/excel/excel_chart_edb.go

@@ -26,6 +26,7 @@ type ExcelChartEdb struct {
 	FromTag         string    `description:"标签"`
 	ModifyTime      time.Time `description:"修改时间"`
 	CreateTime      time.Time `description:"创建时间"`
+	ChartWidth      float64   `description:"线条大小"`
 }
 
 type ExcelChartEdbView struct {

+ 1 - 1
services/data/chart_info_excel_balance.go

@@ -87,7 +87,7 @@ func GetBalanceExcelChartDetail(chartInfo *models.ChartInfo, mappingListTmp []*e
 			ChartStyle:        "",
 			ChartColor:        "",
 			PredictChartColor: "",
-			ChartWidth:        0,
+			ChartWidth:        v.ChartWidth,
 			ChartType:         chartType,
 			LatestDate:        endDateStr,
 			LatestValue:       endVal,