wangkaiyue 11 сар өмнө
parent
commit
08590eadce

+ 2 - 3
src/jfw/modules/bigmember/src/entity/marketAnalysis/analysisPdf.go

@@ -63,17 +63,16 @@ func (this *AnalysisReportPdf) GetPdfDetail() {
 			switch this.GetString("source") {
 			case "luago":
 				if entId := this.GetString("entId"); entId != "" {
-
 					return map[string]interface{}{
 						"type": 1,
 						"ent":  entId,
 					}, nil, nil
 				}
-				if buyerId := this.GetString("buyerId"); buyerId != "" {
+				if buyerName := this.GetString("buyerName"); buyerName != "" {
 					//根据采购单位id查询采购单位名称
 					return map[string]interface{}{
 						"type": 2,
-						"ent":  "北京大学",
+						"ent":  buyerName,
 					}, nil, nil
 				}
 				return nil, nil, fmt.Errorf("请求参数异常")