bxcoreserver.go 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. // Code generated by goctl. DO NOT EDIT.
  2. // Source: bxcore.proto
  3. package server
  4. import (
  5. "context"
  6. "jyBXCore/rpc/internal/logic"
  7. "jyBXCore/rpc/internal/svc"
  8. "jyBXCore/rpc/type/bxcore"
  9. )
  10. type BxCoreServer struct {
  11. svcCtx *svc.ServiceContext
  12. bxcore.UnimplementedBxCoreServer
  13. }
  14. func NewBxCoreServer(svcCtx *svc.ServiceContext) *BxCoreServer {
  15. return &BxCoreServer{
  16. svcCtx: svcCtx,
  17. }
  18. }
  19. // 标讯搜索结果列表数据
  20. func (s *BxCoreServer) GetSearchList(ctx context.Context, in *bxcore.SearchReq) (*bxcore.SearchResp, error) {
  21. l := logic.NewGetSearchListLogic(ctx, s.svcCtx)
  22. return l.GetSearchList(in)
  23. }
  24. // 标讯搜索限制内容
  25. func (s *BxCoreServer) SearchLimit(ctx context.Context, in *bxcore.SearchLimitReq) (*bxcore.SearchLimitResp, error) {
  26. l := logic.NewSearchLimitLogic(ctx, s.svcCtx)
  27. return l.SearchLimit(in)
  28. }
  29. // 列表数据参标信息接口
  30. func (s *BxCoreServer) ParticipateShow(ctx context.Context, in *bxcore.ParticipateShowReq) (*bxcore.ParticipateShowRes, error) {
  31. l := logic.NewParticipateShowLogic(ctx, s.svcCtx)
  32. return l.ParticipateShow(in)
  33. }
  34. // 详情页参标信息接口
  35. func (s *BxCoreServer) ParticipateInfo(ctx context.Context, in *bxcore.ParticipateInfoReq) (*bxcore.ParticipateInfoRes, error) {
  36. l := logic.NewParticipateInfoLogic(ctx, s.svcCtx)
  37. return l.ParticipateInfo(in)
  38. }
  39. // 投标状态更新
  40. func (s *BxCoreServer) UpdateBidStatus(ctx context.Context, in *bxcore.UpdateBidStatusReq) (*bxcore.UpdateBidStatusRes, error) {
  41. l := logic.NewUpdateBidStatusLogic(ctx, s.svcCtx)
  42. return l.UpdateBidStatus(in)
  43. }
  44. // 获取投标状态信息
  45. func (s *BxCoreServer) ParticipateContent(ctx context.Context, in *bxcore.ParticipateContentReq) (*bxcore.ParticipateContentRes, error) {
  46. l := logic.NewParticipateContentLogic(ctx, s.svcCtx)
  47. return l.ParticipateContent(in)
  48. }
  49. // 参标操作记录
  50. func (s *BxCoreServer) ParticipateRecords(ctx context.Context, in *bxcore.ParticipateRecordsReq) (*bxcore.ParticipateRecordsRes, error) {
  51. l := logic.NewParticipateRecordsLogic(ctx, s.svcCtx)
  52. return l.ParticipateRecords(in)
  53. }
  54. // 当前部门/企业下参标人员信息
  55. func (s *BxCoreServer) ParticipatePersons(ctx context.Context, in *bxcore.ParticipatePersonsReq) (*bxcore.ParticipatePersonsRes, error) {
  56. l := logic.NewParticipatePersonsLogic(ctx, s.svcCtx)
  57. return l.ParticipatePersons(in)
  58. }
  59. // 参标设置信息
  60. func (s *BxCoreServer) ParticipateSetUpInfo(ctx context.Context, in *bxcore.ParticipateSetUpInfoReq) (*bxcore.ParticipateSetUpInfoRes, error) {
  61. l := logic.NewParticipateSetUpInfoLogic(ctx, s.svcCtx)
  62. return l.ParticipateSetUpInfo(in)
  63. }
  64. // 项目参标 终止参标 划转等动作
  65. func (s *BxCoreServer) ParticipateAction(ctx context.Context, in *bxcore.ParticipateActionReq) (*bxcore.ParticipateActionRes, error) {
  66. l := logic.NewParticipateActionLogic(ctx, s.svcCtx)
  67. return l.ParticipateAction(in)
  68. }
  69. // 我的参标项目列表|企业参标项目列表
  70. func (s *BxCoreServer) ParticipateList(ctx context.Context, in *bxcore.ParticipateListReq) (*bxcore.ParticipateListRes, error) {
  71. l := logic.NewParticipateListLogic(ctx, s.svcCtx)
  72. return l.ParticipateList(in)
  73. }
  74. // 推送参标统计
  75. func (s *BxCoreServer) PushStatistics(ctx context.Context, in *bxcore.StatisticsListReq) (*bxcore.PushStatisticsDataRes, error) {
  76. l := logic.NewPushStatisticsLogic(ctx, s.svcCtx)
  77. return l.PushStatistics(in)
  78. }
  79. // 参标项目统计
  80. func (s *BxCoreServer) ProjectStatistics(ctx context.Context, in *bxcore.StatisticsListReq) (*bxcore.ProjectStatisticsDataRes, error) {
  81. l := logic.NewProjectStatisticsLogic(ctx, s.svcCtx)
  82. return l.ProjectStatistics(in)
  83. }