Browse Source

图表展示

xyxie 8 months ago
parent
commit
c0e2e66d4b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      services/data/excel/balance_table.go

+ 3 - 3
services/data/excel/balance_table.go

@@ -223,7 +223,7 @@ func GetBalanceExcelEdbData(excelEdbMappingItem *excel.ExcelChartEdb, newMixedTa
 					err = errors.New(errMsg)
 					return
 				}
-				dateList = append(dateList, currCell.Value)
+				dateList = append(dateList, currCell.ShowValue)
 				//dateList[i] = currCell.ShowValue
 				i++
 			}
@@ -283,7 +283,7 @@ func GetBalanceExcelEdbData(excelEdbMappingItem *excel.ExcelChartEdb, newMixedTa
 					err = errors.New(errMsg)
 					return
 				}
-				dataList = append(dataList, currCell.Value)
+				dataList = append(dataList, currCell.ShowValue)
 				//dataList[i] = currCell.ShowValue
 				i++
 			}
@@ -319,7 +319,7 @@ func GetBalanceExcelEdbData(excelEdbMappingItem *excel.ExcelChartEdb, newMixedTa
 					err = errors.New(errMsg)
 					return
 				}
-				dataList = append(dataList, currCell.Value)
+				dataList = append(dataList, currCell.ShowValue)
 				//dataList[i] = currCell.ShowValue
 				i++
 			}