Prechádzať zdrojové kódy

Merge branch 'feature/eta2.2.1_usda_fas' into debug

xyxie 6 mesiacov pred
rodič
commit
5e5567187f
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      controllers/data_manage/usda_fas_data.go

+ 2 - 0
controllers/data_manage/usda_fas_data.go

@@ -1237,6 +1237,8 @@ func (this *BaseFromUsdaFasController) ExportUsdaFasList() {
 	if indexCode != "" && len(indexList) == 1 {
 		fileName = indexList[0].IndexName
 		fileName = strings.Replace(fileName, ": ", "_", -1)
+		fileName = strings.Replace(fileName, ", ", "_", -1)
+		fileName = strings.Replace(fileName, " ", "_", -1)
 	}
 	fileName += time.Now().Format("06.01.02") + `.xlsx` //文件名称
 	//fmt.Println(fileName)