Browse Source

fix:涌益三期数据爬取

zqbao 8 months ago
parent
commit
7ff95d2ba6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      services/base_from_yongyi_v2/week50.go

+ 3 - 0
services/base_from_yongyi_v2/week50.go

@@ -524,6 +524,9 @@ func HandleYongyiExcelWeekly46(f *excelize.File, sheetName string) (indexList []
 							continue
 							continue
 						}
 						}
 						cell = strings.ReplaceAll(cell, ",", "")
 						cell = strings.ReplaceAll(cell, ",", "")
+						if unit == "%" {
+							cell = strings.ReplaceAll(cell, "%", "")
+						}
 						if !isValueValid(cell) {
 						if !isValueValid(cell) {
 							continue
 							continue
 						}
 						}