Browse Source

fix:移除空格

Roc 6 months ago
parent
commit
463cd032d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      services/data/excel/custom_analysis_edb.go

+ 1 - 0
services/data/excel/custom_analysis_edb.go

@@ -172,6 +172,7 @@ func HandleEdbSequenceVal(dateSequenceVal, dataSequenceVal []string) (newDateLis
 
 			// 过滤空格
 			v = strings.Replace(v, " ", "", -1)
+			v = strings.TrimSpace(v)
 			t1, tmpErr := dateparse.ParseAny(v)
 			if tmpErr != nil {
 				dateList = append(dateList, "")