Browse Source

fix:修改

duxin 2 years ago
parent
commit
f55537b9a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/jfw/front/swordfish.go

+ 2 - 2
src/jfw/front/swordfish.go

@@ -826,8 +826,8 @@ func pcVRT(sid, industry, content string, isPayUser bool) (po, bo, wo []map[stri
 			buyer, _ := obj["buyer"].(string) //采购单位
 			if buyer != "" {
 				buyerNameOther := fmt.Sprintf("buyerNameOther_%s", buyer)
-				projectOther = EntAssociated(buyerNameOther)
-				if projectOther == nil {
+				buyerOther = EntAssociated(buyerNameOther)
+				if buyerOther == nil {
 					queryStr = `{"TERM_buyer":"` + buyer + `"}`
 					buyerOther = bidDataConvert(sid, commonQuery(queryStr))
 					if bytes, err := json.Marshal(buyerOther); err == nil && bytes != nil {