Browse Source

wip:行业

wangshan 9 months ago
parent
commit
9c529aebae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/dataexport.go

+ 2 - 2
public/dataexport.go

@@ -141,10 +141,10 @@ func (this *BidSearchExport) PassBidSearchExport(Sysconfig map[string]interface{
 	if this.District != "" {
 	if this.District != "" {
 		districtSave = strings.Split(this.District, ",")
 		districtSave = strings.Split(this.District, ",")
 	}
 	}
-	if len(this.Industry) > 0 {
+	if this.Industry = strings.TrimSpace(this.Industry); this.Industry != "" {
 		industrySave = strings.Split(this.Industry, ",")
 		industrySave = strings.Split(this.Industry, ",")
 		//P510 行业:其它
 		//P510 行业:其它
-		if qt := jy.IndustryHandle(strings.Join(industrySave, "")); len(qt) > 0 {
+		if qt := jy.IndustryHandle(this.Industry); len(qt) > 0 {
 			industrySave = append(industrySave, qt...)
 			industrySave = append(industrySave, qt...)
 		}
 		}
 	}
 	}