瀏覽代碼

Merge branch 'hotfix/custom_balance_table' of eta_server/eta_chart_lib into master

平衡表图表数据
xyxie 8 月之前
父節點
當前提交
85fda802f4
共有 1 個文件被更改,包括 3 次插入3 次删除
  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)
 					err = errors.New(errMsg)
 					return
 					return
 				}
 				}
-				dateList = append(dateList, currCell.Value)
+				dateList = append(dateList, currCell.ShowValue)
 				//dateList[i] = currCell.ShowValue
 				//dateList[i] = currCell.ShowValue
 				i++
 				i++
 			}
 			}
@@ -283,7 +283,7 @@ func GetBalanceExcelEdbData(excelEdbMappingItem *excel.ExcelChartEdb, newMixedTa
 					err = errors.New(errMsg)
 					err = errors.New(errMsg)
 					return
 					return
 				}
 				}
-				dataList = append(dataList, currCell.Value)
+				dataList = append(dataList, currCell.ShowValue)
 				//dataList[i] = currCell.ShowValue
 				//dataList[i] = currCell.ShowValue
 				i++
 				i++
 			}
 			}
@@ -319,7 +319,7 @@ func GetBalanceExcelEdbData(excelEdbMappingItem *excel.ExcelChartEdb, newMixedTa
 					err = errors.New(errMsg)
 					err = errors.New(errMsg)
 					return
 					return
 				}
 				}
-				dataList = append(dataList, currCell.Value)
+				dataList = append(dataList, currCell.ShowValue)
 				//dataList[i] = currCell.ShowValue
 				//dataList[i] = currCell.ShowValue
 				i++
 				i++
 			}
 			}