// Code generated by goctl. DO NOT EDIT.
// Source: bxcore.proto

package bxcore

import (
	"context"

	"jyBXCore/rpc/type/bxcore"

	"github.com/zeromicro/go-zero/zrpc"
	"google.golang.org/grpc"
)

type (
	BidTypeReq               = bxcore.BidTypeReq
	PInfo                    = bxcore.PInfo
	ParticipateActionReq     = bxcore.ParticipateActionReq
	ParticipateActionRes     = bxcore.ParticipateActionRes
	ParticipateContentData   = bxcore.ParticipateContentData
	ParticipateContentReq    = bxcore.ParticipateContentReq
	ParticipateContentRes    = bxcore.ParticipateContentRes
	ParticipateData          = bxcore.ParticipateData
	ParticipateDetailInfo    = bxcore.ParticipateDetailInfo
	ParticipateInfoReq       = bxcore.ParticipateInfoReq
	ParticipateInfoRes       = bxcore.ParticipateInfoRes
	ParticipateList          = bxcore.ParticipateList
	ParticipateListReq       = bxcore.ParticipateListReq
	ParticipateListRes       = bxcore.ParticipateListRes
	ParticipatePerson        = bxcore.ParticipatePerson
	ParticipatePersonsReq    = bxcore.ParticipatePersonsReq
	ParticipatePersonsRes    = bxcore.ParticipatePersonsRes
	ParticipateRecords       = bxcore.ParticipateRecords
	ParticipateRecordsData   = bxcore.ParticipateRecordsData
	ParticipateRecordsReq    = bxcore.ParticipateRecordsReq
	ParticipateRecordsRes    = bxcore.ParticipateRecordsRes
	ParticipateSetUpInfo     = bxcore.ParticipateSetUpInfo
	ParticipateSetUpInfoReq  = bxcore.ParticipateSetUpInfoReq
	ParticipateSetUpInfoRes  = bxcore.ParticipateSetUpInfoRes
	ParticipateShowReq       = bxcore.ParticipateShowReq
	ParticipateShowRes       = bxcore.ParticipateShowRes
	ProjectStatisticsData    = bxcore.ProjectStatisticsData
	ProjectStatisticsDataRes = bxcore.ProjectStatisticsDataRes
	PushStatisticsData       = bxcore.PushStatisticsData
	PushStatisticsDataRes    = bxcore.PushStatisticsDataRes
	RemindRuleReq            = bxcore.RemindRuleReq
	SearchData               = bxcore.SearchData
	SearchLimitReq           = bxcore.SearchLimitReq
	SearchLimitResp          = bxcore.SearchLimitResp
	SearchList               = bxcore.SearchList
	SearchReq                = bxcore.SearchReq
	SearchResp               = bxcore.SearchResp
	ShowInfo                 = bxcore.ShowInfo
	StatisticsListReq        = bxcore.StatisticsListReq
	UpdateBidStatusReq       = bxcore.UpdateBidStatusReq
	UpdateBidStatusRes       = bxcore.UpdateBidStatusRes
	WinnerInfo               = bxcore.WinnerInfo

	BxCore interface {
		// 标讯搜索结果列表数据
		GetSearchList(ctx context.Context, in *SearchReq, opts ...grpc.CallOption) (*SearchResp, error)
		// 标讯搜索限制内容
		SearchLimit(ctx context.Context, in *SearchLimitReq, opts ...grpc.CallOption) (*SearchLimitResp, error)
		// 列表数据参标信息接口
		ParticipateShow(ctx context.Context, in *ParticipateShowReq, opts ...grpc.CallOption) (*ParticipateShowRes, error)
		// 详情页参标信息接口
		ParticipateInfo(ctx context.Context, in *ParticipateInfoReq, opts ...grpc.CallOption) (*ParticipateInfoRes, error)
		// 投标状态更新
		UpdateBidStatus(ctx context.Context, in *UpdateBidStatusReq, opts ...grpc.CallOption) (*UpdateBidStatusRes, error)
		// 获取投标状态信息
		ParticipateContent(ctx context.Context, in *ParticipateContentReq, opts ...grpc.CallOption) (*ParticipateContentRes, error)
		// 参标操作记录
		ParticipateRecords(ctx context.Context, in *ParticipateRecordsReq, opts ...grpc.CallOption) (*ParticipateRecordsRes, error)
		// 当前部门/企业下参标人员信息
		ParticipatePersons(ctx context.Context, in *ParticipatePersonsReq, opts ...grpc.CallOption) (*ParticipatePersonsRes, error)
		// 参标设置信息
		ParticipateSetUpInfo(ctx context.Context, in *ParticipateSetUpInfoReq, opts ...grpc.CallOption) (*ParticipateSetUpInfoRes, error)
		// 项目参标 终止参标 划转等动作
		ParticipateAction(ctx context.Context, in *ParticipateActionReq, opts ...grpc.CallOption) (*ParticipateActionRes, error)
		// 我的参标项目列表|企业参标项目列表
		ParticipateList(ctx context.Context, in *ParticipateListReq, opts ...grpc.CallOption) (*ParticipateListRes, error)
		// 推送参标统计
		PushStatistics(ctx context.Context, in *StatisticsListReq, opts ...grpc.CallOption) (*PushStatisticsDataRes, error)
		// 参标项目统计
		ProjectStatistics(ctx context.Context, in *StatisticsListReq, opts ...grpc.CallOption) (*ProjectStatisticsDataRes, error)
	}

	defaultBxCore struct {
		cli zrpc.Client
	}
)

func NewBxCore(cli zrpc.Client) BxCore {
	return &defaultBxCore{
		cli: cli,
	}
}

// 标讯搜索结果列表数据
func (m *defaultBxCore) GetSearchList(ctx context.Context, in *SearchReq, opts ...grpc.CallOption) (*SearchResp, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.GetSearchList(ctx, in, opts...)
}

// 标讯搜索限制内容
func (m *defaultBxCore) SearchLimit(ctx context.Context, in *SearchLimitReq, opts ...grpc.CallOption) (*SearchLimitResp, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.SearchLimit(ctx, in, opts...)
}

// 列表数据参标信息接口
func (m *defaultBxCore) ParticipateShow(ctx context.Context, in *ParticipateShowReq, opts ...grpc.CallOption) (*ParticipateShowRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateShow(ctx, in, opts...)
}

// 详情页参标信息接口
func (m *defaultBxCore) ParticipateInfo(ctx context.Context, in *ParticipateInfoReq, opts ...grpc.CallOption) (*ParticipateInfoRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateInfo(ctx, in, opts...)
}

// 投标状态更新
func (m *defaultBxCore) UpdateBidStatus(ctx context.Context, in *UpdateBidStatusReq, opts ...grpc.CallOption) (*UpdateBidStatusRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.UpdateBidStatus(ctx, in, opts...)
}

// 获取投标状态信息
func (m *defaultBxCore) ParticipateContent(ctx context.Context, in *ParticipateContentReq, opts ...grpc.CallOption) (*ParticipateContentRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateContent(ctx, in, opts...)
}

// 参标操作记录
func (m *defaultBxCore) ParticipateRecords(ctx context.Context, in *ParticipateRecordsReq, opts ...grpc.CallOption) (*ParticipateRecordsRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateRecords(ctx, in, opts...)
}

// 当前部门/企业下参标人员信息
func (m *defaultBxCore) ParticipatePersons(ctx context.Context, in *ParticipatePersonsReq, opts ...grpc.CallOption) (*ParticipatePersonsRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipatePersons(ctx, in, opts...)
}

// 参标设置信息
func (m *defaultBxCore) ParticipateSetUpInfo(ctx context.Context, in *ParticipateSetUpInfoReq, opts ...grpc.CallOption) (*ParticipateSetUpInfoRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateSetUpInfo(ctx, in, opts...)
}

// 项目参标 终止参标 划转等动作
func (m *defaultBxCore) ParticipateAction(ctx context.Context, in *ParticipateActionReq, opts ...grpc.CallOption) (*ParticipateActionRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateAction(ctx, in, opts...)
}

// 我的参标项目列表|企业参标项目列表
func (m *defaultBxCore) ParticipateList(ctx context.Context, in *ParticipateListReq, opts ...grpc.CallOption) (*ParticipateListRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ParticipateList(ctx, in, opts...)
}

// 推送参标统计
func (m *defaultBxCore) PushStatistics(ctx context.Context, in *StatisticsListReq, opts ...grpc.CallOption) (*PushStatisticsDataRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.PushStatistics(ctx, in, opts...)
}

// 参标项目统计
func (m *defaultBxCore) ProjectStatistics(ctx context.Context, in *StatisticsListReq, opts ...grpc.CallOption) (*ProjectStatisticsDataRes, error) {
	client := bxcore.NewBxCoreClient(m.cli.Conn())
	return client.ProjectStatistics(ctx, in, opts...)
}
