123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- // 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)
- }
- // 聚合搜索
- func (s *BxCoreServer) PolymerizeSearch(ctx context.Context, in *bxcore.PolymerizeSearchReq) (*bxcore.PolymerizeSearchResp, error) {
- l := logic.NewPolymerizeSearchLogic(ctx, s.svcCtx)
- return l.PolymerizeSearch(in)
- }
- func (s *BxCoreServer) ProjectDetails(ctx context.Context, in *bxcore.ProjectDetailsReq) (*bxcore.DetailDataRes, error) {
- l := logic.NewProjectDetailsLogic(ctx, s.svcCtx)
- return l.ProjectDetails(in)
- }
- func (s *BxCoreServer) PropertySearchCriteria(ctx context.Context, in *bxcore.SearchReq) (*bxcore.SearchCriteriaRes, error) {
- l := logic.NewPropertySearchCriteriaLogic(ctx, s.svcCtx)
- return l.PropertySearchCriteria(in)
- }
|