Parcourir la source

feat:buyer 采购单位补充信息单独接口

fuwencai il y a 2 ans
Parent
commit
8be41fb89c

+ 8 - 0
jyBXBuyer/api/bxbuyer.api

@@ -54,10 +54,18 @@ type (
 		Area         string `json:"area,optional"`         //地区
 		City         string `json:"city,optional"`         //城市
 	}
+	// 采购单位补充信息请求参数
+	BuyerSupplyInfoReq {
+		baseParam
+		Buyer []string `json:"buyer,optional"` //采购单位
+
+	}
 )
 service bxbuyer-api {
 	@handler buyerSearchList
 	post /jybx/buyer/:userType/buyerList(buyerListReq) returns (commonResp)
 	@handler relatesInformation
 	post /jybx/buyer/relates/information(relatesInformationReq) returns (commonResp)
+	@handler buyerSupplyInfo
+	post /jybx/buyer/supply/info(BuyerSupplyInfoReq) returns (commonResp)
 }

+ 28 - 0
jyBXBuyer/api/internal/handler/buyerSupplyInfoHandler.go

@@ -0,0 +1,28 @@
+package handler
+
+import (
+	"net/http"
+
+	"github.com/zeromicro/go-zero/rest/httpx"
+	"jyBXBuyer/api/internal/logic"
+	"jyBXBuyer/api/internal/svc"
+	"jyBXBuyer/api/internal/types"
+)
+
+func buyerSupplyInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
+	return func(w http.ResponseWriter, r *http.Request) {
+		var req types.BuyerSupplyInfoReq
+		if err := httpx.Parse(r, &req); err != nil {
+			httpx.Error(w, err)
+			return
+		}
+
+		l := logic.NewBuyerSupplyInfoLogic(r.Context(), svcCtx)
+		resp, err := l.BuyerSupplyInfo(&req)
+		if err != nil {
+			httpx.Error(w, err)
+		} else {
+			httpx.OkJson(w, resp)
+		}
+	}
+}

+ 5 - 0
jyBXBuyer/api/internal/handler/routes.go

@@ -22,6 +22,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
 				Path:    "/jybx/buyer/relates/information",
 				Handler: relatesInformationHandler(serverCtx),
 			},
+			{
+				Method:  http.MethodPost,
+				Path:    "/jybx/buyer/supply/info",
+				Handler: buyerSupplyInfoHandler(serverCtx),
+			},
 		},
 	)
 }

+ 46 - 0
jyBXBuyer/api/internal/logic/buyerSupplyInfoLogic.go

@@ -0,0 +1,46 @@
+package logic
+
+import (
+	"context"
+	"jyBXBuyer/rpc/type/bxbuyer"
+
+	"jyBXBuyer/api/internal/svc"
+	"jyBXBuyer/api/internal/types"
+
+	"github.com/zeromicro/go-zero/core/logx"
+)
+
+type BuyerSupplyInfoLogic struct {
+	logx.Logger
+	ctx    context.Context
+	svcCtx *svc.ServiceContext
+}
+
+func NewBuyerSupplyInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BuyerSupplyInfoLogic {
+	return &BuyerSupplyInfoLogic{
+		Logger: logx.WithContext(ctx),
+		ctx:    ctx,
+		svcCtx: svcCtx,
+	}
+}
+
+func (l *BuyerSupplyInfoLogic) BuyerSupplyInfo(req *types.BuyerSupplyInfoReq) (resp *types.CommonResp, err error) {
+	res, err0 := l.svcCtx.Buyer.BuyerSupplyInfo(l.ctx, &bxbuyer.BuyerSupplyInfoReq{
+		Buyers:       req.Buyer,
+		PositionId:   req.PositionId,
+		PositionType: req.PositionType,
+		Phone:        req.Phone,
+	})
+	if err0 != nil {
+		return &types.CommonResp{
+			Err_code: -1,
+			Err_msg:  "错误",
+			Data:     nil,
+		}, nil
+	}
+	return &types.CommonResp{
+		Err_code: res.ErrCode,
+		Err_msg:  res.ErrMsg,
+		Data:     res.Data,
+	}, nil
+}

+ 5 - 0
jyBXBuyer/api/internal/types/types.go

@@ -47,3 +47,8 @@ type RelatesInformationReq struct {
 	Area         string `json:"area,optional"`         //地区
 	City         string `json:"city,optional"`         //城市
 }
+
+type BuyerSupplyInfoReq struct {
+	BaseParam
+	Buyer []string `json:"buyer,optional"` //采购单位
+}

+ 26 - 0
jyBXBuyer/rpc/bxbuyer.proto

@@ -73,10 +73,36 @@ message infoList {
   string id = 2;//信息类型id
   string publishTime = 3;
 }
+// 采购单位搜索获取补充信息
+message BuyerSupplyInfoReq{
+  string appId = 1;//剑鱼默认10000
+  int64  positionId = 2; // 职位id
+  int64  positionType =3;// 职位类型 0个人 1企业
+  string phone = 4 ;// 手机号
+  repeated string buyers = 5;// 采购单位名称
+}
+message BuyerSupplyResp {
+  int64 err_code = 1;
+  string err_msg = 2;
+  repeated  SupplyData data = 3;
+}
+
+message SupplyData {
+  int64 biddingCount = 1;// 招标动态数量
+  int64 contactCount = 2;// 历史联系人数量
+  int64 projectCount = 3;// 采购项目数量
+  float bidAmountCount = 4;// 采购规模
+  string buyerName = 5;//采购单位名词
+}
+
+
+
 
 service Bxbuyer {
   //采购单位搜索
   rpc BuyerList(BuyerListReq) returns(BuyerListResp);
+  // 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+  rpc BuyerSupplyInfo(BuyerSupplyInfoReq) returns(BuyerSupplyResp);
   //采购单位画像 关联信息
   rpc RelatesInfo(relatesInformationReq) returns(relatesInformationResp);
 }

+ 11 - 0
jyBXBuyer/rpc/bxbuyer/bxbuyer.go

@@ -17,14 +17,19 @@ type (
 	BuyerList              = bxbuyer.BuyerList
 	BuyerListReq           = bxbuyer.BuyerListReq
 	BuyerListResp          = bxbuyer.BuyerListResp
+	BuyerSupplyInfoReq     = bxbuyer.BuyerSupplyInfoReq
+	BuyerSupplyResp        = bxbuyer.BuyerSupplyResp
 	InfoList               = bxbuyer.InfoList
 	RelatesInformation     = bxbuyer.RelatesInformation
 	RelatesInformationReq  = bxbuyer.RelatesInformationReq
 	RelatesInformationResp = bxbuyer.RelatesInformationResp
+	SupplyData             = bxbuyer.SupplyData
 
 	Bxbuyer interface {
 		// 采购单位搜索
 		BuyerList(ctx context.Context, in *BuyerListReq, opts ...grpc.CallOption) (*BuyerListResp, error)
+		//  采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+		BuyerSupplyInfo(ctx context.Context, in *BuyerSupplyInfoReq, opts ...grpc.CallOption) (*BuyerSupplyResp, error)
 		// 采购单位画像 关联信息
 		RelatesInfo(ctx context.Context, in *RelatesInformationReq, opts ...grpc.CallOption) (*RelatesInformationResp, error)
 	}
@@ -46,6 +51,12 @@ func (m *defaultBxbuyer) BuyerList(ctx context.Context, in *BuyerListReq, opts .
 	return client.BuyerList(ctx, in, opts...)
 }
 
+//  采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+func (m *defaultBxbuyer) BuyerSupplyInfo(ctx context.Context, in *BuyerSupplyInfoReq, opts ...grpc.CallOption) (*BuyerSupplyResp, error) {
+	client := bxbuyer.NewBxbuyerClient(m.cli.Conn())
+	return client.BuyerSupplyInfo(ctx, in, opts...)
+}
+
 // 采购单位画像 关联信息
 func (m *defaultBxbuyer) RelatesInfo(ctx context.Context, in *RelatesInformationReq, opts ...grpc.CallOption) (*RelatesInformationResp, error) {
 	client := bxbuyer.NewBxbuyerClient(m.cli.Conn())

+ 16 - 15
jyBXBuyer/rpc/internal/logic/buyerlistlogic.go

@@ -31,7 +31,6 @@ func NewBuyerListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BuyerLi
 func (l *BuyerListLogic) BuyerList(in *bxbuyer.BuyerListReq) (*bxbuyer.BuyerListResp, error) {
 	start2 := time.Now()
 	logx.Info("----:", model.CheckEmpty(in))
-	query, CountQuery := "", ""
 	resp := &bxbuyer.BuyerListResp{}
 	// 采购单位搜索过来的 最多查100条
 	if in.PageSize*in.PageNum > IC.C.BuyerSearchLimit {
@@ -41,9 +40,11 @@ func (l *BuyerListLogic) BuyerList(in *bxbuyer.BuyerListReq) (*bxbuyer.BuyerList
 	if in.PageNum < 1 {
 		in.PageNum = 1
 	}
-	if in.PageSize < 1 {
-		in.PageNum = 10
+	if in.PageSize < 1 || in.PageSize > 100 {
+		in.PageSize = 10
 	}
+	query, CountQuery := "", ""
+	buyerNames := []string{}
 	if model.CheckEmpty(in) {
 		//获取缓存数据
 		var isBool = true
@@ -57,24 +58,24 @@ func (l *BuyerListLogic) BuyerList(in *bxbuyer.BuyerListReq) (*bxbuyer.BuyerList
 		}
 		if isBool {
 			query, CountQuery = model.BuyerListRedisCacheQuery(in.PageNum, in.PageSize)
-			resp = model.GetBuyerList(query, CountQuery, in, true)
+			buyerNames, resp = model.GetBuyerList(query, CountQuery, true)
 			if len(resp.Data.List) > 0 {
-				model.SupplyBuyerListData(resp)
-			}
-			b, err := json.Marshal(resp.Data)
-			if err == nil {
-				redis.PutBytes("other", fmt.Sprintf(model.P_redis_key, in.PageNum, in.PageSize), &b, model.P_redis_time)
-			} else {
-				logx.Info("缓存数据 序列化异常")
+				b, err := json.Marshal(resp.Data)
+				if err == nil {
+					redis.PutBytes("other", fmt.Sprintf(model.P_redis_key, in.PageNum, in.PageSize), &b, model.P_redis_time)
+				} else {
+					logx.Info("缓存数据 序列化异常")
+				}
 			}
 		}
 	} else {
 		query, CountQuery = model.BuyerListQuery(in)
 		logx.Info("query:", query)
-		resp = model.GetBuyerList(query, CountQuery, in, false) // 查询数据
-		if len(resp.Data.List) > 0 {
-			model.SupplyBuyerListData(resp)
-		}
+		buyerNames, resp = model.GetBuyerList(query, CountQuery, false) // 查询数据
+	}
+	if len(resp.Data.List) > 0 {
+		model.SupplyFollowInfo(in, buyerNames, resp)
+		model.SupplyBuyerListData(buyerNames, resp)
 	}
 	if resp.Data.Count > IC.C.BuyerSearchLimit {
 		resp.Data.Count = IC.C.BuyerSearchLimit

+ 36 - 0
jyBXBuyer/rpc/internal/logic/buyersupplyinfologic.go

@@ -0,0 +1,36 @@
+package logic
+
+import (
+	"context"
+	IC "jyBXBuyer/rpc/init"
+	"jyBXBuyer/rpc/internal/svc"
+	"jyBXBuyer/rpc/model"
+	"jyBXBuyer/rpc/type/bxbuyer"
+
+	"github.com/zeromicro/go-zero/core/logx"
+)
+
+type BuyerSupplyInfoLogic struct {
+	ctx    context.Context
+	svcCtx *svc.ServiceContext
+	logx.Logger
+}
+
+func NewBuyerSupplyInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BuyerSupplyInfoLogic {
+	return &BuyerSupplyInfoLogic{
+		ctx:    ctx,
+		svcCtx: svcCtx,
+		Logger: logx.WithContext(ctx),
+	}
+}
+
+// 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+func (l *BuyerSupplyInfoLogic) BuyerSupplyInfo(in *bxbuyer.BuyerSupplyInfoReq) (*bxbuyer.BuyerSupplyResp, error) {
+	resp := &bxbuyer.BuyerSupplyResp{}
+	if len(in.Buyers) == 0 || len(in.Buyers) > int(IC.C.BuyerSearchLimit) {
+		return resp, nil
+	}
+	resp = model.BuyerSupplyInfo(in.Buyers)
+
+	return resp, nil
+}

+ 6 - 0
jyBXBuyer/rpc/internal/server/bxbuyerserver.go

@@ -28,6 +28,12 @@ func (s *BxbuyerServer) BuyerList(ctx context.Context, in *bxbuyer.BuyerListReq)
 	return l.BuyerList(in)
 }
 
+//  采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+func (s *BxbuyerServer) BuyerSupplyInfo(ctx context.Context, in *bxbuyer.BuyerSupplyInfoReq) (*bxbuyer.BuyerSupplyResp, error) {
+	l := logic.NewBuyerSupplyInfoLogic(ctx, s.svcCtx)
+	return l.BuyerSupplyInfo(in)
+}
+
 // 采购单位画像 关联信息
 func (s *BxbuyerServer) RelatesInfo(ctx context.Context, in *bxbuyer.RelatesInformationReq) (*bxbuyer.RelatesInformationResp, error) {
 	l := logic.NewRelatesInfoLogic(ctx, s.svcCtx)

+ 102 - 13
jyBXBuyer/rpc/model/buyerListBYEs.go

@@ -109,8 +109,8 @@ const (
 	biddingType  = "bidding"
 )
 
-// 查询采购单位列表
-func GetBuyerList(qstr string, CountQuery string, in *bxbuyer.BuyerListReq, isCache bool) (resp *bxbuyer.BuyerListResp) {
+// GetBuyerList 查询采购单位列表
+func GetBuyerList(qstr string, CountQuery string, isCache bool) (buyerNames []string, resp *bxbuyer.BuyerListResp) {
 	t1 := time.Now()
 	total := elastic.Count(BuyerIndex, BuyerType, CountQuery) // 总数
 	fmt.Println("耗时1:", time.Since(t1))
@@ -129,7 +129,6 @@ func GetBuyerList(qstr string, CountQuery string, in *bxbuyer.BuyerListReq, isCa
 	if rs == nil || len(*rs) == 0 {
 		return
 	}
-	var buyerNames []string
 	for i := 0; i < len(*rs); i++ {
 		tmp := &bxbuyer.BuyerList{
 			Buyer:      MC.ObjToString((*rs)[i]["name"]),
@@ -140,6 +139,13 @@ func GetBuyerList(qstr string, CountQuery string, in *bxbuyer.BuyerListReq, isCa
 		buyerNames = append(buyerNames, tmp.Buyer)
 		resp.Data.List = append(resp.Data.List, tmp)
 	}
+	fmt.Println("耗时;", time.Since(t1).Seconds(), "秒--", time.Since(t1).Microseconds())
+	return
+}
+
+// SupplyFollowInfo 补充是否关注信息
+func SupplyFollowInfo(in *bxbuyer.BuyerListReq, buyerNames []string, resp *bxbuyer.BuyerListResp) *bxbuyer.BuyerListResp {
+
 	//省份和城市 是否查询已关注信息 是否查询已领取信息
 	//企业信用库qyxy_std 和es buyer库 查询省份和城市
 	//客户领取
@@ -167,20 +173,14 @@ func GetBuyerList(qstr string, CountQuery string, in *bxbuyer.BuyerListReq, isCa
 			}
 		}
 	}
-	fmt.Println("耗时;", time.Since(t1).Seconds(), "秒--", time.Since(t1).Microseconds())
-	return
+	return resp
 }
 
-// 补充字段   项目数量 历史联系人数量 采购单位规模
-func SupplyBuyerListData(resp *bxbuyer.BuyerListResp) {
+// SupplyBuyerListData 补充字段   项目数量 历史联系人数量 采购单位规模
+func SupplyBuyerListData(buyerNames []string, resp *bxbuyer.BuyerListResp) *bxbuyer.BuyerListResp {
 	start := time.Now()
-	// buyerList
-	buyerList := []string{}
-	for i := 0; i < len(resp.Data.List); i++ {
-		buyerList = append(buyerList, resp.Data.List[i].Buyer)
-	}
 	t1 := time.Now()
-	query := SupplyDataQuery(buyerList) // 项目数量、采购规模
+	query := SupplyDataQuery(buyerNames) // 项目数量、采购规模
 	// 聚合查
 	aggs := GetAggs(P_INDEX, P_TYPE, query)
 	logx.Info("查询语句:", query)
@@ -256,6 +256,95 @@ func SupplyBuyerListData(resp *bxbuyer.BuyerListResp) {
 	}
 	wg.Wait()
 	fmt.Println("SupplyBuyerListData 整体耗时:", time.Since(start))
+	return resp
+}
+
+// BuyerSupplyInfo 补充字段
+func BuyerSupplyInfo(buyerNames []string) (resp *bxbuyer.BuyerSupplyResp) {
+	resp = &bxbuyer.BuyerSupplyResp{}
+	start := time.Now()
+	// buyerNames
+	t1 := time.Now()
+	query := SupplyDataQuery(buyerNames) // 项目数量、采购规模
+	// 聚合查
+	aggs := GetAggs(P_INDEX, P_TYPE, query)
+	logx.Info("查询语句:", query)
+	fmt.Println("项目数量采购规模查询耗时:", time.Since(t1))
+	type BuyerAggStruct struct {
+		Buckets []struct {
+			Key            string `json:"key,omitempty"`
+			Doc_count      int64  `json:"doc_count,omitempty"`
+			BidAmountCount struct {
+				Value float32 `json:"value,omitempty"`
+			} `json:"bidAmountCount"`
+		} `json:"buckets"`
+	}
+	var buyerBuckets = BuyerAggStruct{}
+	type supplyDataStruct struct {
+		ProjectCount   int64
+		BidCount       int64
+		BidAmountCount float32
+	}
+	// 处理成map 用于后面格式化数据
+	buyerMap := map[string]supplyDataStruct{}
+	if aggs != nil && aggs["buyerBuckets"] != nil {
+		bs, err := aggs["buyerBuckets"].MarshalJSON()
+		if err != nil {
+			resp.ErrCode = -1
+			resp.ErrMsg = "获取数据异常"
+		} else {
+			if len(bs) == 0 {
+				resp.ErrMsg = "暂无数据"
+			} else {
+				err := json.Unmarshal(bs, &buyerBuckets)
+				logx.Info(err)
+				if len(buyerBuckets.Buckets) > 0 {
+					for _, v := range buyerBuckets.Buckets {
+						buyerMap[v.Key] = supplyDataStruct{
+							BidAmountCount: v.BidAmountCount.Value,
+							ProjectCount:   v.Doc_count,
+						}
+					}
+				}
+			}
+		}
+	}
+	ch := make(chan int, 10)
+	ch2 := make(chan int, 10)
+	wg := &sync.WaitGroup{}
+	for i := 0; i < len(buyerNames); i++ {
+		buyer := buyerNames[i]
+		resp.Data = append(resp.Data, &bxbuyer.SupplyData{
+			BuyerName: buyerNames[i],
+		})
+		// 补充字段
+		if supplyData, ok := buyerMap[buyer]; ok {
+			resp.Data[i].BidAmountCount = supplyData.BidAmountCount
+			resp.Data[i].ProjectCount = supplyData.ProjectCount
+		}
+		ch2 <- 1
+		wg.Add(1)
+		go func(list *bxbuyer.SupplyData, buyer string) {
+			defer func() {
+				<-ch2
+				wg.Done()
+			}()
+			list.ContactCount = GetProjectContactCount(buyer) // 补充联系人字段
+		}(resp.Data[i], buyer)
+		ch <- 1
+		wg.Add(1)
+		go func(list *bxbuyer.SupplyData, buyer string) {
+			defer func() {
+				<-ch
+				wg.Done()
+			}()
+			list.BiddingCount = GetNewBiddingCount(buyer)
+		}(resp.Data[i], buyer)
+
+	}
+	wg.Wait()
+	fmt.Println(" 整体耗时:", time.Since(start))
+	return
 }
 
 func GetProjectContactCount(buyerName string) int64 {

+ 321 - 24
jyBXBuyer/rpc/type/bxbuyer/bxbuyer.pb.go

@@ -726,6 +726,228 @@ func (x *InfoList) GetPublishTime() string {
 	return ""
 }
 
+// 采购单位搜索获取补充信息
+type BuyerSupplyInfoReq struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	AppId        string   `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`                //剑鱼默认10000
+	PositionId   int64    `protobuf:"varint,2,opt,name=positionId,proto3" json:"positionId,omitempty"`     // 职位id
+	PositionType int64    `protobuf:"varint,3,opt,name=positionType,proto3" json:"positionType,omitempty"` // 职位类型 0个人 1企业
+	Phone        string   `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`                // 手机号
+	Buyers       []string `protobuf:"bytes,5,rep,name=buyers,proto3" json:"buyers,omitempty"`              // 采购单位名称
+}
+
+func (x *BuyerSupplyInfoReq) Reset() {
+	*x = BuyerSupplyInfoReq{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_bxbuyer_proto_msgTypes[8]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *BuyerSupplyInfoReq) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BuyerSupplyInfoReq) ProtoMessage() {}
+
+func (x *BuyerSupplyInfoReq) ProtoReflect() protoreflect.Message {
+	mi := &file_bxbuyer_proto_msgTypes[8]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use BuyerSupplyInfoReq.ProtoReflect.Descriptor instead.
+func (*BuyerSupplyInfoReq) Descriptor() ([]byte, []int) {
+	return file_bxbuyer_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *BuyerSupplyInfoReq) GetAppId() string {
+	if x != nil {
+		return x.AppId
+	}
+	return ""
+}
+
+func (x *BuyerSupplyInfoReq) GetPositionId() int64 {
+	if x != nil {
+		return x.PositionId
+	}
+	return 0
+}
+
+func (x *BuyerSupplyInfoReq) GetPositionType() int64 {
+	if x != nil {
+		return x.PositionType
+	}
+	return 0
+}
+
+func (x *BuyerSupplyInfoReq) GetPhone() string {
+	if x != nil {
+		return x.Phone
+	}
+	return ""
+}
+
+func (x *BuyerSupplyInfoReq) GetBuyers() []string {
+	if x != nil {
+		return x.Buyers
+	}
+	return nil
+}
+
+type BuyerSupplyResp struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	ErrCode int64         `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
+	ErrMsg  string        `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
+	Data    []*SupplyData `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
+}
+
+func (x *BuyerSupplyResp) Reset() {
+	*x = BuyerSupplyResp{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_bxbuyer_proto_msgTypes[9]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *BuyerSupplyResp) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BuyerSupplyResp) ProtoMessage() {}
+
+func (x *BuyerSupplyResp) ProtoReflect() protoreflect.Message {
+	mi := &file_bxbuyer_proto_msgTypes[9]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use BuyerSupplyResp.ProtoReflect.Descriptor instead.
+func (*BuyerSupplyResp) Descriptor() ([]byte, []int) {
+	return file_bxbuyer_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *BuyerSupplyResp) GetErrCode() int64 {
+	if x != nil {
+		return x.ErrCode
+	}
+	return 0
+}
+
+func (x *BuyerSupplyResp) GetErrMsg() string {
+	if x != nil {
+		return x.ErrMsg
+	}
+	return ""
+}
+
+func (x *BuyerSupplyResp) GetData() []*SupplyData {
+	if x != nil {
+		return x.Data
+	}
+	return nil
+}
+
+type SupplyData struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	BiddingCount   int64   `protobuf:"varint,1,opt,name=biddingCount,proto3" json:"biddingCount,omitempty"`      // 招标动态数量
+	ContactCount   int64   `protobuf:"varint,2,opt,name=contactCount,proto3" json:"contactCount,omitempty"`      // 历史联系人数量
+	ProjectCount   int64   `protobuf:"varint,3,opt,name=projectCount,proto3" json:"projectCount,omitempty"`      // 采购项目数量
+	BidAmountCount float32 `protobuf:"fixed32,4,opt,name=bidAmountCount,proto3" json:"bidAmountCount,omitempty"` // 采购规模
+	BuyerName      string  `protobuf:"bytes,5,opt,name=buyerName,proto3" json:"buyerName,omitempty"`             //采购单位名词
+}
+
+func (x *SupplyData) Reset() {
+	*x = SupplyData{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_bxbuyer_proto_msgTypes[10]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *SupplyData) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SupplyData) ProtoMessage() {}
+
+func (x *SupplyData) ProtoReflect() protoreflect.Message {
+	mi := &file_bxbuyer_proto_msgTypes[10]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use SupplyData.ProtoReflect.Descriptor instead.
+func (*SupplyData) Descriptor() ([]byte, []int) {
+	return file_bxbuyer_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *SupplyData) GetBiddingCount() int64 {
+	if x != nil {
+		return x.BiddingCount
+	}
+	return 0
+}
+
+func (x *SupplyData) GetContactCount() int64 {
+	if x != nil {
+		return x.ContactCount
+	}
+	return 0
+}
+
+func (x *SupplyData) GetProjectCount() int64 {
+	if x != nil {
+		return x.ProjectCount
+	}
+	return 0
+}
+
+func (x *SupplyData) GetBidAmountCount() float32 {
+	if x != nil {
+		return x.BidAmountCount
+	}
+	return 0
+}
+
+func (x *SupplyData) GetBuyerName() string {
+	if x != nil {
+		return x.BuyerName
+	}
+	return ""
+}
+
 var File_bxbuyer_proto protoreflect.FileDescriptor
 
 var file_bxbuyer_proto_rawDesc = []byte{
@@ -831,18 +1053,51 @@ var file_bxbuyer_proto_rawDesc = []byte{
 	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
 	0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
 	0x68, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62,
-	0x6c, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x32, 0x95, 0x01, 0x0a, 0x07, 0x42, 0x78, 0x62,
+	0x6c, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x42, 0x75, 0x79,
+	0x65, 0x72, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12,
+	0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+	0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
+	0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74,
+	0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
+	0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73,
+	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
+	0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
+	0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
+	0x06, 0x62, 0x75, 0x79, 0x65, 0x72, 0x73, 0x22, 0x6e, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x65, 0x72,
+	0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x72,
+	0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x72,
+	0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67,
+	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x27,
+	0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62,
+	0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x61, 0x74,
+	0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xbe, 0x01, 0x0a, 0x0a, 0x53, 0x75, 0x70, 0x70,
+	0x6c, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x69, 0x64, 0x64, 0x69, 0x6e,
+	0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x62, 0x69,
+	0x64, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f,
+	0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22,
+	0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
+	0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75,
+	0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x69, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43,
+	0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x62, 0x69, 0x64, 0x41,
+	0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x75,
+	0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62,
+	0x75, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xdf, 0x01, 0x0a, 0x07, 0x42, 0x78, 0x62,
 	0x75, 0x79, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73,
 	0x74, 0x12, 0x15, 0x2e, 0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x79, 0x65,
 	0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x62, 0x78, 0x62, 0x75, 0x79,
 	0x65, 0x72, 0x2e, 0x42, 0x75, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
-	0x12, 0x4e, 0x0a, 0x0b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12,
-	0x1e, 0x2e, 0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65,
-	0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a,
-	0x1f, 0x2e, 0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65,
-	0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
-	0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x62, 0x06, 0x70,
-	0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x12, 0x48, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x65, 0x72, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x49,
+	0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x2e, 0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x2e, 0x42, 0x75,
+	0x79, 0x65, 0x72, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
+	0x1a, 0x18, 0x2e, 0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x79, 0x65, 0x72,
+	0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4e, 0x0a, 0x0b, 0x52, 0x65,
+	0x6c, 0x61, 0x74, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x62, 0x78, 0x62, 0x75,
+	0x79, 0x65, 0x72, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72,
+	0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x62, 0x78, 0x62, 0x75,
+	0x79, 0x65, 0x72, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72,
+	0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f,
+	0x62, 0x78, 0x62, 0x75, 0x79, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -857,7 +1112,7 @@ func file_bxbuyer_proto_rawDescGZIP() []byte {
 	return file_bxbuyer_proto_rawDescData
 }
 
-var file_bxbuyer_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
+var file_bxbuyer_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
 var file_bxbuyer_proto_goTypes = []interface{}{
 	(*BuyerListReq)(nil),           // 0: bxbuyer.BuyerListReq
 	(*BuyerListResp)(nil),          // 1: bxbuyer.BuyerListResp
@@ -867,22 +1122,28 @@ var file_bxbuyer_proto_goTypes = []interface{}{
 	(*RelatesInformationResp)(nil), // 5: bxbuyer.relatesInformationResp
 	(*RelatesInformation)(nil),     // 6: bxbuyer.relatesInformation
 	(*InfoList)(nil),               // 7: bxbuyer.infoList
+	(*BuyerSupplyInfoReq)(nil),     // 8: bxbuyer.BuyerSupplyInfoReq
+	(*BuyerSupplyResp)(nil),        // 9: bxbuyer.BuyerSupplyResp
+	(*SupplyData)(nil),             // 10: bxbuyer.SupplyData
 }
 var file_bxbuyer_proto_depIdxs = []int32{
-	2, // 0: bxbuyer.BuyerListResp.data:type_name -> bxbuyer.BuyerData
-	3, // 1: bxbuyer.BuyerData.list:type_name -> bxbuyer.BuyerList
-	6, // 2: bxbuyer.relatesInformationResp.data:type_name -> bxbuyer.relatesInformation
-	7, // 3: bxbuyer.relatesInformation.buyerList:type_name -> bxbuyer.infoList
-	7, // 4: bxbuyer.relatesInformation.biddingList:type_name -> bxbuyer.infoList
-	0, // 5: bxbuyer.Bxbuyer.BuyerList:input_type -> bxbuyer.BuyerListReq
-	4, // 6: bxbuyer.Bxbuyer.RelatesInfo:input_type -> bxbuyer.relatesInformationReq
-	1, // 7: bxbuyer.Bxbuyer.BuyerList:output_type -> bxbuyer.BuyerListResp
-	5, // 8: bxbuyer.Bxbuyer.RelatesInfo:output_type -> bxbuyer.relatesInformationResp
-	7, // [7:9] is the sub-list for method output_type
-	5, // [5:7] is the sub-list for method input_type
-	5, // [5:5] is the sub-list for extension type_name
-	5, // [5:5] is the sub-list for extension extendee
-	0, // [0:5] is the sub-list for field type_name
+	2,  // 0: bxbuyer.BuyerListResp.data:type_name -> bxbuyer.BuyerData
+	3,  // 1: bxbuyer.BuyerData.list:type_name -> bxbuyer.BuyerList
+	6,  // 2: bxbuyer.relatesInformationResp.data:type_name -> bxbuyer.relatesInformation
+	7,  // 3: bxbuyer.relatesInformation.buyerList:type_name -> bxbuyer.infoList
+	7,  // 4: bxbuyer.relatesInformation.biddingList:type_name -> bxbuyer.infoList
+	10, // 5: bxbuyer.BuyerSupplyResp.data:type_name -> bxbuyer.SupplyData
+	0,  // 6: bxbuyer.Bxbuyer.BuyerList:input_type -> bxbuyer.BuyerListReq
+	8,  // 7: bxbuyer.Bxbuyer.BuyerSupplyInfo:input_type -> bxbuyer.BuyerSupplyInfoReq
+	4,  // 8: bxbuyer.Bxbuyer.RelatesInfo:input_type -> bxbuyer.relatesInformationReq
+	1,  // 9: bxbuyer.Bxbuyer.BuyerList:output_type -> bxbuyer.BuyerListResp
+	9,  // 10: bxbuyer.Bxbuyer.BuyerSupplyInfo:output_type -> bxbuyer.BuyerSupplyResp
+	5,  // 11: bxbuyer.Bxbuyer.RelatesInfo:output_type -> bxbuyer.relatesInformationResp
+	9,  // [9:12] is the sub-list for method output_type
+	6,  // [6:9] is the sub-list for method input_type
+	6,  // [6:6] is the sub-list for extension type_name
+	6,  // [6:6] is the sub-list for extension extendee
+	0,  // [0:6] is the sub-list for field type_name
 }
 
 func init() { file_bxbuyer_proto_init() }
@@ -987,6 +1248,42 @@ func file_bxbuyer_proto_init() {
 				return nil
 			}
 		}
+		file_bxbuyer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*BuyerSupplyInfoReq); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_bxbuyer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*BuyerSupplyResp); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_bxbuyer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*SupplyData); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
 	}
 	type x struct{}
 	out := protoimpl.TypeBuilder{
@@ -994,7 +1291,7 @@ func file_bxbuyer_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_bxbuyer_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   8,
+			NumMessages:   11,
 			NumExtensions: 0,
 			NumServices:   1,
 		},

+ 38 - 0
jyBXBuyer/rpc/type/bxbuyer/bxbuyer_grpc.pb.go

@@ -24,6 +24,8 @@ const _ = grpc.SupportPackageIsVersion7
 type BxbuyerClient interface {
 	//采购单位搜索
 	BuyerList(ctx context.Context, in *BuyerListReq, opts ...grpc.CallOption) (*BuyerListResp, error)
+	// 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+	BuyerSupplyInfo(ctx context.Context, in *BuyerSupplyInfoReq, opts ...grpc.CallOption) (*BuyerSupplyResp, error)
 	//采购单位画像 关联信息
 	RelatesInfo(ctx context.Context, in *RelatesInformationReq, opts ...grpc.CallOption) (*RelatesInformationResp, error)
 }
@@ -45,6 +47,15 @@ func (c *bxbuyerClient) BuyerList(ctx context.Context, in *BuyerListReq, opts ..
 	return out, nil
 }
 
+func (c *bxbuyerClient) BuyerSupplyInfo(ctx context.Context, in *BuyerSupplyInfoReq, opts ...grpc.CallOption) (*BuyerSupplyResp, error) {
+	out := new(BuyerSupplyResp)
+	err := c.cc.Invoke(ctx, "/bxbuyer.Bxbuyer/BuyerSupplyInfo", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *bxbuyerClient) RelatesInfo(ctx context.Context, in *RelatesInformationReq, opts ...grpc.CallOption) (*RelatesInformationResp, error) {
 	out := new(RelatesInformationResp)
 	err := c.cc.Invoke(ctx, "/bxbuyer.Bxbuyer/RelatesInfo", in, out, opts...)
@@ -60,6 +71,8 @@ func (c *bxbuyerClient) RelatesInfo(ctx context.Context, in *RelatesInformationR
 type BxbuyerServer interface {
 	//采购单位搜索
 	BuyerList(context.Context, *BuyerListReq) (*BuyerListResp, error)
+	// 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
+	BuyerSupplyInfo(context.Context, *BuyerSupplyInfoReq) (*BuyerSupplyResp, error)
 	//采购单位画像 关联信息
 	RelatesInfo(context.Context, *RelatesInformationReq) (*RelatesInformationResp, error)
 	mustEmbedUnimplementedBxbuyerServer()
@@ -72,6 +85,9 @@ type UnimplementedBxbuyerServer struct {
 func (UnimplementedBxbuyerServer) BuyerList(context.Context, *BuyerListReq) (*BuyerListResp, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method BuyerList not implemented")
 }
+func (UnimplementedBxbuyerServer) BuyerSupplyInfo(context.Context, *BuyerSupplyInfoReq) (*BuyerSupplyResp, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method BuyerSupplyInfo not implemented")
+}
 func (UnimplementedBxbuyerServer) RelatesInfo(context.Context, *RelatesInformationReq) (*RelatesInformationResp, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method RelatesInfo not implemented")
 }
@@ -106,6 +122,24 @@ func _Bxbuyer_BuyerList_Handler(srv interface{}, ctx context.Context, dec func(i
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Bxbuyer_BuyerSupplyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(BuyerSupplyInfoReq)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(BxbuyerServer).BuyerSupplyInfo(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/bxbuyer.Bxbuyer/BuyerSupplyInfo",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(BxbuyerServer).BuyerSupplyInfo(ctx, req.(*BuyerSupplyInfoReq))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _Bxbuyer_RelatesInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(RelatesInformationReq)
 	if err := dec(in); err != nil {
@@ -135,6 +169,10 @@ var Bxbuyer_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "BuyerList",
 			Handler:    _Bxbuyer_BuyerList_Handler,
 		},
+		{
+			MethodName: "BuyerSupplyInfo",
+			Handler:    _Bxbuyer_BuyerSupplyInfo_Handler,
+		},
 		{
 			MethodName: "RelatesInfo",
 			Handler:    _Bxbuyer_RelatesInfo_Handler,