瀏覽代碼

wip:行业

wangshan 9 月之前
父節點
當前提交
9c529aebae
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 != "" {
 		districtSave = strings.Split(this.District, ",")
 	}
-	if len(this.Industry) > 0 {
+	if this.Industry = strings.TrimSpace(this.Industry); this.Industry != "" {
 		industrySave = strings.Split(this.Industry, ",")
 		//P510 行业:其它
-		if qt := jy.IndustryHandle(strings.Join(industrySave, "")); len(qt) > 0 {
+		if qt := jy.IndustryHandle(this.Industry); len(qt) > 0 {
 			industrySave = append(industrySave, qt...)
 		}
 	}