biserviceserver.go 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. // Code generated by goctl. DO NOT EDIT.
  2. // goctl 1.7.6
  3. // Source: biService.proto
  4. package server
  5. import (
  6. "context"
  7. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/logic"
  8. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc"
  9. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb"
  10. )
  11. type BiServiceServer struct {
  12. svcCtx *svc.ServiceContext
  13. pb.UnimplementedBiServiceServer
  14. }
  15. func NewBiServiceServer(svcCtx *svc.ServiceContext) *BiServiceServer {
  16. return &BiServiceServer{
  17. svcCtx: svcCtx,
  18. }
  19. }
  20. func (s *BiServiceServer) MyDataAsset(ctx context.Context, in *pb.MyDataAssetReq) (*pb.MyDataAssetResp, error) {
  21. l := logic.NewMyDataAssetLogic(ctx, s.svcCtx)
  22. return l.MyDataAsset(in)
  23. }
  24. func (s *BiServiceServer) AddProject(ctx context.Context, in *pb.AddProjectReq) (*pb.AddProjectResp, error) {
  25. l := logic.NewAddProjectLogic(ctx, s.svcCtx)
  26. return l.AddProject(in)
  27. }
  28. func (s *BiServiceServer) GetInfoId(ctx context.Context, in *pb.AddProjectReq) (*pb.GetInfoIdResp, error) {
  29. l := logic.NewGetInfoIdLogic(ctx, s.svcCtx)
  30. return l.GetInfoId(in)
  31. }
  32. func (s *BiServiceServer) DrawClue(ctx context.Context, in *pb.DrawClueReq) (*pb.AddProjectResp, error) {
  33. l := logic.NewDrawClueLogic(ctx, s.svcCtx)
  34. return l.DrawClue(in)
  35. }
  36. func (s *BiServiceServer) Call(ctx context.Context, in *pb.CallReq) (*pb.BiResp, error) {
  37. l := logic.NewCallLogic(ctx, s.svcCtx)
  38. return l.Call(in)
  39. }
  40. func (s *BiServiceServer) DistributeClue(ctx context.Context, in *pb.DistributeClueReq) (*pb.AddProjectResp, error) {
  41. l := logic.NewDistributeClueLogic(ctx, s.svcCtx)
  42. return l.DistributeClue(in)
  43. }
  44. func (s *BiServiceServer) ClueImport(ctx context.Context, in *pb.ClueImportReq) (*pb.ClueImportResp, error) {
  45. l := logic.NewClueImportLogic(ctx, s.svcCtx)
  46. return l.ClueImport(in)
  47. }
  48. func (s *BiServiceServer) ClueAdd(ctx context.Context, in *pb.ClueAddReq) (*pb.AddProjectResp, error) {
  49. l := logic.NewClueAddLogic(ctx, s.svcCtx)
  50. return l.ClueAdd(in)
  51. }
  52. func (s *BiServiceServer) ClueImportTt(ctx context.Context, in *pb.ClueImportReq) (*pb.ClueImportResp, error) {
  53. l := logic.NewClueImportTtLogic(ctx, s.svcCtx)
  54. return l.ClueImportTt(in)
  55. }
  56. func (s *BiServiceServer) AutoFollow(ctx context.Context, in *pb.CallReq) (*pb.ClueImportResp, error) {
  57. l := logic.NewAutoFollowLogic(ctx, s.svcCtx)
  58. return l.AutoFollow(in)
  59. }
  60. func (s *BiServiceServer) SqlManage(ctx context.Context, in *pb.SqlManageReq) (*pb.BiReply, error) {
  61. l := logic.NewSqlManageLogic(ctx, s.svcCtx)
  62. return l.SqlManage(in)
  63. }
  64. func (s *BiServiceServer) MyInfo(ctx context.Context, in *pb.MyInfoReq) (*pb.BiReply, error) {
  65. l := logic.NewMyInfoLogic(ctx, s.svcCtx)
  66. return l.MyInfo(in)
  67. }
  68. func (s *BiServiceServer) AllInfoExport(ctx context.Context, in *pb.ExportReq) (*pb.BiReply, error) {
  69. l := logic.NewAllInfoExportLogic(ctx, s.svcCtx)
  70. return l.AllInfoExport(in)
  71. }
  72. func (s *BiServiceServer) AllProjectExport(ctx context.Context, in *pb.ExportReq) (*pb.BiReply, error) {
  73. l := logic.NewAllProjectExportLogic(ctx, s.svcCtx)
  74. return l.AllProjectExport(in)
  75. }
  76. func (s *BiServiceServer) InfoOperate(ctx context.Context, in *pb.OperateReq) (*pb.BiReply, error) {
  77. l := logic.NewInfoOperateLogic(ctx, s.svcCtx)
  78. return l.InfoOperate(in)
  79. }
  80. func (s *BiServiceServer) GetCompanyType(ctx context.Context, in *pb.CompanyReq) (*pb.CompanyResp, error) {
  81. l := logic.NewGetCompanyTypeLogic(ctx, s.svcCtx)
  82. return l.GetCompanyType(in)
  83. }
  84. func (s *BiServiceServer) DistributeClueShow(ctx context.Context, in *pb.DistributeClueShowReq) (*pb.DistributeClueShowResp, error) {
  85. l := logic.NewDistributeClueShowLogic(ctx, s.svcCtx)
  86. return l.DistributeClueShow(in)
  87. }
  88. func (s *BiServiceServer) SendMail(ctx context.Context, in *pb.ExportByDbReq) (*pb.BiReply, error) {
  89. l := logic.NewSendMailLogic(ctx, s.svcCtx)
  90. return l.SendMail(in)
  91. }
  92. func (s *BiServiceServer) UpFile(ctx context.Context, in *pb.UpFileReq) (*pb.BiReply, error) {
  93. l := logic.NewUpFileLogic(ctx, s.svcCtx)
  94. return l.UpFile(in)
  95. }
  96. func (s *BiServiceServer) SendCommonMail(ctx context.Context, in *pb.SendMailReq) (*pb.BiReply, error) {
  97. l := logic.NewSendCommonMailLogic(ctx, s.svcCtx)
  98. return l.SendCommonMail(in)
  99. }
  100. func (s *BiServiceServer) AddAcceptance(ctx context.Context, in *pb.AcceptanceReq) (*pb.AcceptanceResp, error) {
  101. l := logic.NewAddAcceptanceLogic(ctx, s.svcCtx)
  102. return l.AddAcceptance(in)
  103. }
  104. func (s *BiServiceServer) CreateClueByPhone(ctx context.Context, in *pb.CreateCuleReq) (*pb.BiReply, error) {
  105. l := logic.NewCreateClueByPhoneLogic(ctx, s.svcCtx)
  106. return l.CreateClueByPhone(in)
  107. }
  108. func (s *BiServiceServer) TransferClueByPhone(ctx context.Context, in *pb.TransferClueReq) (*pb.BiReply, error) {
  109. l := logic.NewTransferClueByPhoneLogic(ctx, s.svcCtx)
  110. return l.TransferClueByPhone(in)
  111. }
  112. func (s *BiServiceServer) FindClueInfo(ctx context.Context, in *pb.FindClueInfoReq) (*pb.BiReply, error) {
  113. l := logic.NewFindClueInfoLogic(ctx, s.svcCtx)
  114. return l.FindClueInfo(in)
  115. }
  116. func (s *BiServiceServer) MakeEntRelation(ctx context.Context, in *pb.MakeEntRelationReq) (*pb.MakeEntRelationResp, error) {
  117. l := logic.NewMakeEntRelationLogic(ctx, s.svcCtx)
  118. return l.MakeEntRelation(in)
  119. }
  120. func (s *BiServiceServer) GetClueInfoList(ctx context.Context, in *pb.ClueInfoReq) (*pb.BiReply, error) {
  121. l := logic.NewGetClueInfoListLogic(ctx, s.svcCtx)
  122. return l.GetClueInfoList(in)
  123. }