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

package server

import (
	"context"

	"jyBXCore/rpc/internal/logic"
	"jyBXCore/rpc/internal/svc"
	"jyBXCore/rpc/type/bxcore"
)

type BxCoreServer struct {
	svcCtx *svc.ServiceContext
	bxcore.UnimplementedBxCoreServer
}

func NewBxCoreServer(svcCtx *svc.ServiceContext) *BxCoreServer {
	return &BxCoreServer{
		svcCtx: svcCtx,
	}
}

// 标讯搜索结果列表数据
func (s *BxCoreServer) GetSearchList(ctx context.Context, in *bxcore.SearchReq) (*bxcore.SearchResp, error) {
	l := logic.NewGetSearchListLogic(ctx, s.svcCtx)
	return l.GetSearchList(in)
}

// 标讯搜索限制内容
func (s *BxCoreServer) SearchLimit(ctx context.Context, in *bxcore.SearchLimitReq) (*bxcore.SearchLimitResp, error) {
	l := logic.NewSearchLimitLogic(ctx, s.svcCtx)
	return l.SearchLimit(in)
}

// 列表数据参标信息接口
func (s *BxCoreServer) ParticipateShow(ctx context.Context, in *bxcore.ParticipateShowReq) (*bxcore.ParticipateShowRes, error) {
	l := logic.NewParticipateShowLogic(ctx, s.svcCtx)
	return l.ParticipateShow(in)
}

// 详情页参标信息接口
func (s *BxCoreServer) ParticipateInfo(ctx context.Context, in *bxcore.ParticipateInfoReq) (*bxcore.ParticipateInfoRes, error) {
	l := logic.NewParticipateInfoLogic(ctx, s.svcCtx)
	return l.ParticipateInfo(in)
}

// 投标状态更新
func (s *BxCoreServer) UpdateBidStatus(ctx context.Context, in *bxcore.UpdateBidStatusReq) (*bxcore.UpdateBidStatusRes, error) {
	l := logic.NewUpdateBidStatusLogic(ctx, s.svcCtx)
	return l.UpdateBidStatus(in)
}

// 获取投标状态信息
func (s *BxCoreServer) ParticipateContent(ctx context.Context, in *bxcore.ParticipateContentReq) (*bxcore.ParticipateContentRes, error) {
	l := logic.NewParticipateContentLogic(ctx, s.svcCtx)
	return l.ParticipateContent(in)
}

// 参标操作记录
func (s *BxCoreServer) ParticipateRecords(ctx context.Context, in *bxcore.ParticipateRecordsReq) (*bxcore.ParticipateRecordsRes, error) {
	l := logic.NewParticipateRecordsLogic(ctx, s.svcCtx)
	return l.ParticipateRecords(in)
}

// 当前部门/企业下参标人员信息
func (s *BxCoreServer) ParticipatePersons(ctx context.Context, in *bxcore.ParticipatePersonsReq) (*bxcore.ParticipatePersonsRes, error) {
	l := logic.NewParticipatePersonsLogic(ctx, s.svcCtx)
	return l.ParticipatePersons(in)
}

// 参标设置信息
func (s *BxCoreServer) ParticipateSetUpInfo(ctx context.Context, in *bxcore.ParticipateSetUpInfoReq) (*bxcore.ParticipateSetUpInfoRes, error) {
	l := logic.NewParticipateSetUpInfoLogic(ctx, s.svcCtx)
	return l.ParticipateSetUpInfo(in)
}

// 项目参标 终止参标 划转等动作
func (s *BxCoreServer) ParticipateAction(ctx context.Context, in *bxcore.ParticipateActionReq) (*bxcore.ParticipateActionRes, error) {
	l := logic.NewParticipateActionLogic(ctx, s.svcCtx)
	return l.ParticipateAction(in)
}

// 我的参标项目列表|企业参标项目列表
func (s *BxCoreServer) ParticipateList(ctx context.Context, in *bxcore.ParticipateListReq) (*bxcore.ParticipateListRes, error) {
	l := logic.NewParticipateListLogic(ctx, s.svcCtx)
	return l.ParticipateList(in)
}

// 推送参标统计
func (s *BxCoreServer) PushStatistics(ctx context.Context, in *bxcore.StatisticsListReq) (*bxcore.PushStatisticsDataRes, error) {
	l := logic.NewPushStatisticsLogic(ctx, s.svcCtx)
	return l.PushStatistics(in)
}

// 参标项目统计
func (s *BxCoreServer) ProjectStatistics(ctx context.Context, in *bxcore.StatisticsListReq) (*bxcore.ProjectStatisticsDataRes, error) {
	l := logic.NewProjectStatisticsLogic(ctx, s.svcCtx)
	return l.ProjectStatistics(in)
}
