sunsheng 1 year ago
parent
commit
d433a9d5e5
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/api/latestExamExcel.go

+ 0 - 7
src/api/latestExamExcel.go

@@ -188,10 +188,3 @@ func NewLatestExamExcel(f *excelize.File) *LatestExamExcel {
 
 	return b
 }
-
-func (b *LatestExamExcel) FormatToEmpty(str *string) {
-	if *str == "0" || *str == "0.000" {
-		*str = "-"
-	}
-
-}