xuzhiheng 9 months ago
parent
commit
a1cf6addcf
1 changed files with 17 additions and 17 deletions
  1. 17 17
      data_project_wy_all/task.go

+ 17 - 17
data_project_wy_all/task.go

@@ -248,22 +248,22 @@ func IncTransactionDataFromPro() {
 	wg := &sync.WaitGroup{}
 	// lock := &sync.Mutex{}
 	fields := map[string]interface{}{
-		"projectname":     1,
-		"budget":          1,
-		"bidamount":       1,
-		"buyer":           1,
-		"s_winner":        1,
-		"agency":          1,
-		"property_form":   1,
-		"multipackage":    1,
-		"area":            1,
-		"city":            1,
-		"district":        1,
-		"zbtime":          1,
-		"jgtime":          1,
-		"bidstatus":       1,
-		"buyerclass":      1,
-		"s_topscopeclass": 1,
+		"projectname":   1,
+		"budget":        1,
+		"bidamount":     1,
+		"buyer":         1,
+		"s_winner":      1,
+		"agency":        1,
+		"property_form": 1,
+		"multipackage":  1,
+		"area":          1,
+		"city":          1,
+		"district":      1,
+		"zbtime":        1,
+		"jgtime":        1,
+		"bidstatus":     1,
+		"buyerclass":    1,
+		"topscopeclass": 1,
 		//
 		"firsttime":             1,
 		"pici":                  1,
@@ -389,7 +389,7 @@ func DealTransactionForPro(data map[string]interface{}) map[string]interface{} {
 		// Information_Id:    info.Id,
 		BuyerClass:    buyerclass,
 		Buyer:         buyer,
-		Topscopeclass: topscopeclass,
+		Topscopeclass: data["s_topscopeclass"],
 		Winner:        winners,
 		Agency:        agency,
 		Buyer_Id:      buyer_id,