소스 검색

fix:研报显示样式

zqbao 6 달 전
부모
커밋
e4c92bf3b5
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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)