浏览代码

fix:修改

duxin 2 年之前
父节点
当前提交
f55537b9a0
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 {