Browse Source

fix:研报显示样式

zqbao 4 months ago
parent
commit
e4c92bf3b5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      services/excel/lucky_sheet.go

+ 5 - 0
services/excel/lucky_sheet.go

@@ -1290,6 +1290,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)