biserviceserver.go 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // Code generated by goctl. DO NOT EDIT.
  2. // Source: biService.proto
  3. package server
  4. import (
  5. "context"
  6. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/logic"
  7. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc"
  8. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb"
  9. )
  10. type BiServiceServer struct {
  11. svcCtx *svc.ServiceContext
  12. pb.UnimplementedBiServiceServer
  13. }
  14. func NewBiServiceServer(svcCtx *svc.ServiceContext) *BiServiceServer {
  15. return &BiServiceServer{
  16. svcCtx: svcCtx,
  17. }
  18. }
  19. func (s *BiServiceServer) MyDataAsset(ctx context.Context, in *pb.MyDataAssetReq) (*pb.MyDataAssetResp, error) {
  20. l := logic.NewMyDataAssetLogic(ctx, s.svcCtx)
  21. return l.MyDataAsset(in)
  22. }
  23. func (s *BiServiceServer) AddProject(ctx context.Context, in *pb.AddProjectReq) (*pb.AddProjectResp, error) {
  24. l := logic.NewAddProjectLogic(ctx, s.svcCtx)
  25. return l.AddProject(in)
  26. }
  27. func (s *BiServiceServer) GetInfoId(ctx context.Context, in *pb.AddProjectReq) (*pb.GetInfoIdResp, error) {
  28. l := logic.NewGetInfoIdLogic(ctx, s.svcCtx)
  29. return l.GetInfoId(in)
  30. }
  31. func (s *BiServiceServer) DrawClue(ctx context.Context, in *pb.DrawClueReq) (*pb.AddProjectResp, error) {
  32. l := logic.NewDrawClueLogic(ctx, s.svcCtx)
  33. return l.DrawClue(in)
  34. }
  35. func (s *BiServiceServer) Call(ctx context.Context, in *pb.CallReq) (*pb.Resp, error) {
  36. l := logic.NewCallLogic(ctx, s.svcCtx)
  37. return l.Call(in)
  38. }
  39. func (s *BiServiceServer) DistributeClue(ctx context.Context, in *pb.DistributeClueReq) (*pb.AddProjectResp, error) {
  40. l := logic.NewDistributeClueLogic(ctx, s.svcCtx)
  41. return l.DistributeClue(in)
  42. }
  43. func (s *BiServiceServer) ClueImport(ctx context.Context, in *pb.ClueImportReq) (*pb.ClueImportResp, error) {
  44. l := logic.NewClueImportLogic(ctx, s.svcCtx)
  45. return l.ClueImport(in)
  46. }
  47. func (s *BiServiceServer) ClueAdd(ctx context.Context, in *pb.ClueAddReq) (*pb.AddProjectResp, error) {
  48. l := logic.NewClueAddLogic(ctx, s.svcCtx)
  49. return l.ClueAdd(in)
  50. }
  51. func (s *BiServiceServer) ClueImportTt(ctx context.Context, in *pb.ClueImportReq) (*pb.ClueImportResp, error) {
  52. l := logic.NewClueImportTtLogic(ctx, s.svcCtx)
  53. return l.ClueImportTt(in)
  54. }
  55. func (s *BiServiceServer) AutoFollow(ctx context.Context, in *pb.CallReq) (*pb.ClueImportResp, error) {
  56. l := logic.NewAutoFollowLogic(ctx, s.svcCtx)
  57. return l.AutoFollow(in)
  58. }
  59. func (s *BiServiceServer) SqlManage(ctx context.Context, in *pb.SqlManageReq) (*pb.Reply, error) {
  60. l := logic.NewSqlManageLogic(ctx, s.svcCtx)
  61. return l.SqlManage(in)
  62. }
  63. func (s *BiServiceServer) MyInfo(ctx context.Context, in *pb.MyInfoReq) (*pb.Reply, error) {
  64. l := logic.NewMyInfoLogic(ctx, s.svcCtx)
  65. return l.MyInfo(in)
  66. }
  67. func (s *BiServiceServer) AllInfoExport(ctx context.Context, in *pb.ExportReq) (*pb.Reply, error) {
  68. l := logic.NewAllInfoExportLogic(ctx, s.svcCtx)
  69. return l.AllInfoExport(in)
  70. }
  71. func (s *BiServiceServer) AllProjectExport(ctx context.Context, in *pb.ExportReq) (*pb.Reply, error) {
  72. l := logic.NewAllProjectExportLogic(ctx, s.svcCtx)
  73. return l.AllProjectExport(in)
  74. }
  75. func (s *BiServiceServer) InfoOperate(ctx context.Context, in *pb.OperateReq) (*pb.Resp, error) {
  76. l := logic.NewInfoOperateLogic(ctx, s.svcCtx)
  77. return l.InfoOperate(in)
  78. }