浏览代码

Merge branch 'bzq/fix_excel_history_data' of eta_server/eta_chart_lib into debug

baoziqiang 5 月之前
父节点
当前提交
f6e0c271f7
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      services/excel/lucky_sheet.go

+ 5 - 0
services/excel/lucky_sheet.go

@@ -1321,6 +1321,11 @@ func GetTableDataByMixedTableData(config [][]request.MixedTableCellDataReq, hide
 						// 		tmp.Monitor = fmt.Sprintf("%g", rounded)
 						// 	}
 						// }
+					} else {
+						if cell.DataType == request.CustomTextDT {
+							tmp.Monitor = cell.Value
+						}
+
 					}
 				}
 				dataCol = append(dataCol, tmp)