2023-06-02 03:58:14 +00:00
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
2023-06-21 06:54:47 +00:00
// - protoc-gen-go-triple v1.0.5
// - protoc v4.23.3
// source: approvalFork.proto
2023-06-02 03:58:14 +00:00
2023-06-21 06:54:47 +00:00
package approvalFork
2023-06-02 03:58:14 +00:00
import (
context "context"
protocol "dubbo.apache.org/dubbo-go/v3/protocol"
dubbo3 "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3"
invocation "dubbo.apache.org/dubbo-go/v3/protocol/invocation"
grpc_go "github.com/dubbogo/grpc-go"
codes "github.com/dubbogo/grpc-go/codes"
metadata "github.com/dubbogo/grpc-go/metadata"
status "github.com/dubbogo/grpc-go/status"
common "github.com/dubbogo/triple/pkg/common"
constant "github.com/dubbogo/triple/pkg/common/constant"
triple "github.com/dubbogo/triple/pkg/triple"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc_go . SupportPackageIsVersion7
2023-06-21 07:36:15 +00:00
// ApprovalForkClient is the client API for ApprovalFork service.
2023-06-02 03:58:14 +00:00
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
2023-06-21 07:36:15 +00:00
type ApprovalForkClient interface {
2023-06-02 03:58:14 +00:00
Create ( ctx context . Context , in * CreateRequest , opts ... grpc_go . CallOption ) ( * ApprovalResponse , common . ErrorWithAttachment )
UsedNumByUser ( ctx context . Context , in * UsedNumByUserRequest , opts ... grpc_go . CallOption ) ( * UsedNumByUserResponse , common . ErrorWithAttachment )
UpdateExhibitionApplyID ( ctx context . Context , in * UpdateEhApplyIDRequest , opts ... grpc_go . CallOption ) ( * UpdateEhApplyIDResponse , common . ErrorWithAttachment )
Detail ( ctx context . Context , in * DetailRequest , opts ... grpc_go . CallOption ) ( * CreateRequest , common . ErrorWithAttachment )
Update ( ctx context . Context , in * CreateRequest , opts ... grpc_go . CallOption ) ( * ApprovalResponse , common . ErrorWithAttachment )
Remove ( ctx context . Context , in * RemoveRequest , opts ... grpc_go . CallOption ) ( * RemoveResponse , common . ErrorWithAttachment )
MyWork ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
MySubmit ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
NowLevelByInfo ( ctx context . Context , in * NowLevelByInfoRequest , opts ... grpc_go . CallOption ) ( * WorkFlowResponse , common . ErrorWithAttachment )
Information ( ctx context . Context , in * InformationRequest , opts ... grpc_go . CallOption ) ( * InformationResponse , common . ErrorWithAttachment )
Viewed ( ctx context . Context , in * ViewedRequest , opts ... grpc_go . CallOption ) ( * ApprovalResponse , common . ErrorWithAttachment )
SetStatus ( ctx context . Context , in * StatusRequest , opts ... grpc_go . CallOption ) ( * StatusResponse , common . ErrorWithAttachment )
DetailSetting ( ctx context . Context , in * DetailSettingRequest , opts ... grpc_go . CallOption ) ( * SettingRequest , common . ErrorWithAttachment )
UpdateSetting ( ctx context . Context , in * SettingRequest , opts ... grpc_go . CallOption ) ( * SettingResponse , common . ErrorWithAttachment )
IsExistPayRight ( ctx context . Context , in * IsExistPayRightRequest , opts ... grpc_go . CallOption ) ( * IsExistPayRightResponse , common . ErrorWithAttachment )
ChangeBundlePay ( ctx context . Context , in * ChangeBundlePayRequest , opts ... grpc_go . CallOption ) ( * CommonResponse , common . ErrorWithAttachment )
CreateType ( ctx context . Context , in * CreateTypeRequest , opts ... grpc_go . CallOption ) ( * TypeResponse , common . ErrorWithAttachment )
DetailType ( ctx context . Context , in * TypeResponse , opts ... grpc_go . CallOption ) ( * CreateTypeRequest , common . ErrorWithAttachment )
UpdateType ( ctx context . Context , in * CreateTypeRequest , opts ... grpc_go . CallOption ) ( * TypeResponse , common . ErrorWithAttachment )
AllType ( ctx context . Context , in * CommonRequest , opts ... grpc_go . CallOption ) ( * AllTypeResponse , common . ErrorWithAttachment )
RemoveType ( ctx context . Context , in * RemoveRequest , opts ... grpc_go . CallOption ) ( * StatusResponse , common . ErrorWithAttachment )
AllGroup ( ctx context . Context , in * CommonRequest , opts ... grpc_go . CallOption ) ( * AllGroupResponse , common . ErrorWithAttachment )
// 财务报表审批
GetName ( ctx context . Context , in * GetNameRequest , opts ... grpc_go . CallOption ) ( * GetNameResponse , common . ErrorWithAttachment )
// OA审批 更新 OA系统的 UUID
UpdateApprovalOAUUID ( ctx context . Context , in * UpdateApprovalOAUUIDReq , opts ... grpc_go . CallOption ) ( * UpdateApprovalOAUUIDResponse , common . ErrorWithAttachment )
}
2023-06-21 07:36:15 +00:00
type approvalForkClient struct {
2023-06-02 03:58:14 +00:00
cc * triple . TripleConn
}
2023-06-21 07:36:15 +00:00
type ApprovalForkClientImpl struct {
2023-06-02 03:58:14 +00:00
Create func ( ctx context . Context , in * CreateRequest ) ( * ApprovalResponse , error )
UsedNumByUser func ( ctx context . Context , in * UsedNumByUserRequest ) ( * UsedNumByUserResponse , error )
UpdateExhibitionApplyID func ( ctx context . Context , in * UpdateEhApplyIDRequest ) ( * UpdateEhApplyIDResponse , error )
Detail func ( ctx context . Context , in * DetailRequest ) ( * CreateRequest , error )
Update func ( ctx context . Context , in * CreateRequest ) ( * ApprovalResponse , error )
Remove func ( ctx context . Context , in * RemoveRequest ) ( * RemoveResponse , error )
MyWork func ( ctx context . Context , in * ListRequest ) ( * ListResponse , error )
MySubmit func ( ctx context . Context , in * ListRequest ) ( * ListResponse , error )
NowLevelByInfo func ( ctx context . Context , in * NowLevelByInfoRequest ) ( * WorkFlowResponse , error )
Information func ( ctx context . Context , in * InformationRequest ) ( * InformationResponse , error )
Viewed func ( ctx context . Context , in * ViewedRequest ) ( * ApprovalResponse , error )
SetStatus func ( ctx context . Context , in * StatusRequest ) ( * StatusResponse , error )
DetailSetting func ( ctx context . Context , in * DetailSettingRequest ) ( * SettingRequest , error )
UpdateSetting func ( ctx context . Context , in * SettingRequest ) ( * SettingResponse , error )
IsExistPayRight func ( ctx context . Context , in * IsExistPayRightRequest ) ( * IsExistPayRightResponse , error )
ChangeBundlePay func ( ctx context . Context , in * ChangeBundlePayRequest ) ( * CommonResponse , error )
CreateType func ( ctx context . Context , in * CreateTypeRequest ) ( * TypeResponse , error )
DetailType func ( ctx context . Context , in * TypeResponse ) ( * CreateTypeRequest , error )
UpdateType func ( ctx context . Context , in * CreateTypeRequest ) ( * TypeResponse , error )
AllType func ( ctx context . Context , in * CommonRequest ) ( * AllTypeResponse , error )
RemoveType func ( ctx context . Context , in * RemoveRequest ) ( * StatusResponse , error )
AllGroup func ( ctx context . Context , in * CommonRequest ) ( * AllGroupResponse , error )
GetName func ( ctx context . Context , in * GetNameRequest ) ( * GetNameResponse , error )
UpdateApprovalOAUUID func ( ctx context . Context , in * UpdateApprovalOAUUIDReq ) ( * UpdateApprovalOAUUIDResponse , error )
}
2023-06-21 07:36:15 +00:00
func ( c * ApprovalForkClientImpl ) GetDubboStub ( cc * triple . TripleConn ) ApprovalForkClient {
return NewApprovalForkClient ( cc )
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func ( c * ApprovalForkClientImpl ) XXX_InterfaceName ( ) string {
return "approvalFork.ApprovalFork"
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func NewApprovalForkClient ( cc * triple . TripleConn ) ApprovalForkClient {
return & approvalForkClient { cc }
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) Create ( ctx context . Context , in * CreateRequest , opts ... grpc_go . CallOption ) ( * ApprovalResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( ApprovalResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Create" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) UsedNumByUser ( ctx context . Context , in * UsedNumByUserRequest , opts ... grpc_go . CallOption ) ( * UsedNumByUserResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( UsedNumByUserResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UsedNumByUser" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) UpdateExhibitionApplyID ( ctx context . Context , in * UpdateEhApplyIDRequest , opts ... grpc_go . CallOption ) ( * UpdateEhApplyIDResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( UpdateEhApplyIDResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateExhibitionApplyID" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) Detail ( ctx context . Context , in * DetailRequest , opts ... grpc_go . CallOption ) ( * CreateRequest , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( CreateRequest )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Detail" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) Update ( ctx context . Context , in * CreateRequest , opts ... grpc_go . CallOption ) ( * ApprovalResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( ApprovalResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Update" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) Remove ( ctx context . Context , in * RemoveRequest , opts ... grpc_go . CallOption ) ( * RemoveResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( RemoveResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Remove" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) MyWork ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/MyWork" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) MySubmit ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/MySubmit" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) NowLevelByInfo ( ctx context . Context , in * NowLevelByInfoRequest , opts ... grpc_go . CallOption ) ( * WorkFlowResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( WorkFlowResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/NowLevelByInfo" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) Information ( ctx context . Context , in * InformationRequest , opts ... grpc_go . CallOption ) ( * InformationResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( InformationResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Information" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) Viewed ( ctx context . Context , in * ViewedRequest , opts ... grpc_go . CallOption ) ( * ApprovalResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( ApprovalResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Viewed" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) SetStatus ( ctx context . Context , in * StatusRequest , opts ... grpc_go . CallOption ) ( * StatusResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( StatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SetStatus" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) DetailSetting ( ctx context . Context , in * DetailSettingRequest , opts ... grpc_go . CallOption ) ( * SettingRequest , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( SettingRequest )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/DetailSetting" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) UpdateSetting ( ctx context . Context , in * SettingRequest , opts ... grpc_go . CallOption ) ( * SettingResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( SettingResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateSetting" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) IsExistPayRight ( ctx context . Context , in * IsExistPayRightRequest , opts ... grpc_go . CallOption ) ( * IsExistPayRightResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( IsExistPayRightResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/IsExistPayRight" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) ChangeBundlePay ( ctx context . Context , in * ChangeBundlePayRequest , opts ... grpc_go . CallOption ) ( * CommonResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( CommonResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ChangeBundlePay" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) CreateType ( ctx context . Context , in * CreateTypeRequest , opts ... grpc_go . CallOption ) ( * TypeResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( TypeResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateType" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) DetailType ( ctx context . Context , in * TypeResponse , opts ... grpc_go . CallOption ) ( * CreateTypeRequest , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( CreateTypeRequest )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/DetailType" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) UpdateType ( ctx context . Context , in * CreateTypeRequest , opts ... grpc_go . CallOption ) ( * TypeResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( TypeResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateType" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) AllType ( ctx context . Context , in * CommonRequest , opts ... grpc_go . CallOption ) ( * AllTypeResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( AllTypeResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/AllType" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) RemoveType ( ctx context . Context , in * RemoveRequest , opts ... grpc_go . CallOption ) ( * StatusResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( StatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/RemoveType" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) AllGroup ( ctx context . Context , in * CommonRequest , opts ... grpc_go . CallOption ) ( * AllGroupResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( AllGroupResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/AllGroup" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) GetName ( ctx context . Context , in * GetNameRequest , opts ... grpc_go . CallOption ) ( * GetNameResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( GetNameResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetName" , in , out )
}
2023-06-21 07:36:15 +00:00
func ( c * approvalForkClient ) UpdateApprovalOAUUID ( ctx context . Context , in * UpdateApprovalOAUUIDReq , opts ... grpc_go . CallOption ) ( * UpdateApprovalOAUUIDResponse , common . ErrorWithAttachment ) {
2023-06-02 03:58:14 +00:00
out := new ( UpdateApprovalOAUUIDResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateApprovalOAUUID" , in , out )
}
2023-06-21 07:36:15 +00:00
// ApprovalForkServer is the server API for ApprovalFork service.
// All implementations must embed UnimplementedApprovalForkServer
2023-06-02 03:58:14 +00:00
// for forward compatibility
2023-06-21 07:36:15 +00:00
type ApprovalForkServer interface {
2023-06-02 03:58:14 +00:00
Create ( context . Context , * CreateRequest ) ( * ApprovalResponse , error )
UsedNumByUser ( context . Context , * UsedNumByUserRequest ) ( * UsedNumByUserResponse , error )
UpdateExhibitionApplyID ( context . Context , * UpdateEhApplyIDRequest ) ( * UpdateEhApplyIDResponse , error )
Detail ( context . Context , * DetailRequest ) ( * CreateRequest , error )
Update ( context . Context , * CreateRequest ) ( * ApprovalResponse , error )
Remove ( context . Context , * RemoveRequest ) ( * RemoveResponse , error )
MyWork ( context . Context , * ListRequest ) ( * ListResponse , error )
MySubmit ( context . Context , * ListRequest ) ( * ListResponse , error )
NowLevelByInfo ( context . Context , * NowLevelByInfoRequest ) ( * WorkFlowResponse , error )
Information ( context . Context , * InformationRequest ) ( * InformationResponse , error )
Viewed ( context . Context , * ViewedRequest ) ( * ApprovalResponse , error )
SetStatus ( context . Context , * StatusRequest ) ( * StatusResponse , error )
DetailSetting ( context . Context , * DetailSettingRequest ) ( * SettingRequest , error )
UpdateSetting ( context . Context , * SettingRequest ) ( * SettingResponse , error )
IsExistPayRight ( context . Context , * IsExistPayRightRequest ) ( * IsExistPayRightResponse , error )
ChangeBundlePay ( context . Context , * ChangeBundlePayRequest ) ( * CommonResponse , error )
CreateType ( context . Context , * CreateTypeRequest ) ( * TypeResponse , error )
DetailType ( context . Context , * TypeResponse ) ( * CreateTypeRequest , error )
UpdateType ( context . Context , * CreateTypeRequest ) ( * TypeResponse , error )
AllType ( context . Context , * CommonRequest ) ( * AllTypeResponse , error )
RemoveType ( context . Context , * RemoveRequest ) ( * StatusResponse , error )
AllGroup ( context . Context , * CommonRequest ) ( * AllGroupResponse , error )
// 财务报表审批
GetName ( context . Context , * GetNameRequest ) ( * GetNameResponse , error )
// OA审批 更新 OA系统的 UUID
UpdateApprovalOAUUID ( context . Context , * UpdateApprovalOAUUIDReq ) ( * UpdateApprovalOAUUIDResponse , error )
2023-06-21 07:36:15 +00:00
mustEmbedUnimplementedApprovalForkServer ( )
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
// UnimplementedApprovalForkServer must be embedded to have forward compatible implementations.
type UnimplementedApprovalForkServer struct {
2023-06-02 03:58:14 +00:00
proxyImpl protocol . Invoker
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) Create ( context . Context , * CreateRequest ) ( * ApprovalResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method Create not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) UsedNumByUser ( context . Context , * UsedNumByUserRequest ) ( * UsedNumByUserResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UsedNumByUser not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) UpdateExhibitionApplyID ( context . Context , * UpdateEhApplyIDRequest ) ( * UpdateEhApplyIDResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateExhibitionApplyID not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) Detail ( context . Context , * DetailRequest ) ( * CreateRequest , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method Detail not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) Update ( context . Context , * CreateRequest ) ( * ApprovalResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method Update not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) Remove ( context . Context , * RemoveRequest ) ( * RemoveResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method Remove not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) MyWork ( context . Context , * ListRequest ) ( * ListResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method MyWork not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) MySubmit ( context . Context , * ListRequest ) ( * ListResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method MySubmit not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) NowLevelByInfo ( context . Context , * NowLevelByInfoRequest ) ( * WorkFlowResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method NowLevelByInfo not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) Information ( context . Context , * InformationRequest ) ( * InformationResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method Information not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) Viewed ( context . Context , * ViewedRequest ) ( * ApprovalResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method Viewed not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) SetStatus ( context . Context , * StatusRequest ) ( * StatusResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method SetStatus not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) DetailSetting ( context . Context , * DetailSettingRequest ) ( * SettingRequest , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method DetailSetting not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) UpdateSetting ( context . Context , * SettingRequest ) ( * SettingResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateSetting not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) IsExistPayRight ( context . Context , * IsExistPayRightRequest ) ( * IsExistPayRightResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method IsExistPayRight not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) ChangeBundlePay ( context . Context , * ChangeBundlePayRequest ) ( * CommonResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method ChangeBundlePay not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) CreateType ( context . Context , * CreateTypeRequest ) ( * TypeResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method CreateType not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) DetailType ( context . Context , * TypeResponse ) ( * CreateTypeRequest , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method DetailType not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) UpdateType ( context . Context , * CreateTypeRequest ) ( * TypeResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateType not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) AllType ( context . Context , * CommonRequest ) ( * AllTypeResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method AllType not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) RemoveType ( context . Context , * RemoveRequest ) ( * StatusResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method RemoveType not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) AllGroup ( context . Context , * CommonRequest ) ( * AllGroupResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method AllGroup not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) GetName ( context . Context , * GetNameRequest ) ( * GetNameResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method GetName not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) UpdateApprovalOAUUID ( context . Context , * UpdateApprovalOAUUIDReq ) ( * UpdateApprovalOAUUIDResponse , error ) {
2023-06-02 03:58:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateApprovalOAUUID not implemented" )
}
2023-06-21 07:36:15 +00:00
func ( s * UnimplementedApprovalForkServer ) XXX_SetProxyImpl ( impl protocol . Invoker ) {
2023-06-02 03:58:14 +00:00
s . proxyImpl = impl
}
2023-06-21 07:36:15 +00:00
func ( s * UnimplementedApprovalForkServer ) XXX_GetProxyImpl ( ) protocol . Invoker {
2023-06-02 03:58:14 +00:00
return s . proxyImpl
}
2023-06-21 07:36:15 +00:00
func ( s * UnimplementedApprovalForkServer ) XXX_ServiceDesc ( ) * grpc_go . ServiceDesc {
return & ApprovalFork_ServiceDesc
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func ( s * UnimplementedApprovalForkServer ) XXX_InterfaceName ( ) string {
return "approvalFork.ApprovalFork"
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func ( UnimplementedApprovalForkServer ) mustEmbedUnimplementedApprovalForkServer ( ) { }
2023-06-02 03:58:14 +00:00
2023-06-21 07:36:15 +00:00
// UnsafeApprovalForkServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ApprovalForkServer will
2023-06-02 03:58:14 +00:00
// result in compilation errors.
2023-06-21 07:36:15 +00:00
type UnsafeApprovalForkServer interface {
mustEmbedUnimplementedApprovalForkServer ( )
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func RegisterApprovalForkServer ( s grpc_go . ServiceRegistrar , srv ApprovalForkServer ) {
s . RegisterService ( & ApprovalFork_ServiceDesc , srv )
2023-06-02 03:58:14 +00:00
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_Create_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( CreateRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "Create" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_UsedNumByUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( UsedNumByUserRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "UsedNumByUser" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_UpdateExhibitionApplyID_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( UpdateEhApplyIDRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "UpdateExhibitionApplyID" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_Detail_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( DetailRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "Detail" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_Update_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( CreateRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "Update" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_Remove_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( RemoveRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "Remove" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_MyWork_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( ListRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "MyWork" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_MySubmit_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( ListRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "MySubmit" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_NowLevelByInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( NowLevelByInfoRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "NowLevelByInfo" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_Information_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( InformationRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "Information" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_Viewed_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( ViewedRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "Viewed" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_SetStatus_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( StatusRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "SetStatus" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_DetailSetting_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( DetailSettingRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "DetailSetting" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_UpdateSetting_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( SettingRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "UpdateSetting" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_IsExistPayRight_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( IsExistPayRightRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "IsExistPayRight" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_ChangeBundlePay_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( ChangeBundlePayRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "ChangeBundlePay" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_CreateType_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( CreateTypeRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "CreateType" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_DetailType_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( TypeResponse )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "DetailType" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_UpdateType_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( CreateTypeRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "UpdateType" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_AllType_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( CommonRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "AllType" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_RemoveType_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( RemoveRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "RemoveType" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_AllGroup_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( CommonRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "AllGroup" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_GetName_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( GetNameRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "GetName" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
func _ApprovalFork_UpdateApprovalOAUUID_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-06-02 03:58:14 +00:00
in := new ( UpdateApprovalOAUUIDReq )
if err := dec ( in ) ; err != nil {
return nil , err
}
base := srv . ( dubbo3 . Dubbo3GrpcService )
args := [ ] interface { } { }
args = append ( args , in )
md , _ := metadata . FromIncomingContext ( ctx )
invAttachment := make ( map [ string ] interface { } , len ( md ) )
for k , v := range md {
invAttachment [ k ] = v
}
invo := invocation . NewRPCInvocation ( "UpdateApprovalOAUUID" , args , invAttachment )
if interceptor == nil {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
info := & grpc_go . UnaryServerInfo {
Server : srv ,
FullMethod : ctx . Value ( "XXX_TRIPLE_GO_INTERFACE_NAME" ) . ( string ) ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
result := base . XXX_GetProxyImpl ( ) . Invoke ( ctx , invo )
return result , result . Error ( )
}
return interceptor ( ctx , in , info , handler )
}
2023-06-21 07:36:15 +00:00
// ApprovalFork_ServiceDesc is the grpc_go.ServiceDesc for ApprovalFork service.
2023-06-02 03:58:14 +00:00
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
2023-06-21 07:36:15 +00:00
var ApprovalFork_ServiceDesc = grpc_go . ServiceDesc {
ServiceName : "approvalFork.ApprovalFork" ,
HandlerType : ( * ApprovalForkServer ) ( nil ) ,
2023-06-02 03:58:14 +00:00
Methods : [ ] grpc_go . MethodDesc {
{
MethodName : "Create" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_Create_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "UsedNumByUser" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_UsedNumByUser_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "UpdateExhibitionApplyID" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_UpdateExhibitionApplyID_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "Detail" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_Detail_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "Update" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_Update_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "Remove" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_Remove_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "MyWork" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_MyWork_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "MySubmit" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_MySubmit_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "NowLevelByInfo" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_NowLevelByInfo_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "Information" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_Information_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "Viewed" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_Viewed_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "SetStatus" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_SetStatus_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "DetailSetting" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_DetailSetting_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "UpdateSetting" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_UpdateSetting_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "IsExistPayRight" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_IsExistPayRight_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "ChangeBundlePay" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_ChangeBundlePay_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "CreateType" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_CreateType_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "DetailType" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_DetailType_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "UpdateType" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_UpdateType_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "AllType" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_AllType_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "RemoveType" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_RemoveType_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "AllGroup" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_AllGroup_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "GetName" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_GetName_Handler ,
2023-06-02 03:58:14 +00:00
} ,
{
MethodName : "UpdateApprovalOAUUID" ,
2023-06-21 07:36:15 +00:00
Handler : _ApprovalFork_UpdateApprovalOAUUID_Handler ,
2023-06-02 03:58:14 +00:00
} ,
} ,
Streams : [ ] grpc_go . StreamDesc { } ,
2023-06-21 06:54:47 +00:00
Metadata : "approvalFork.proto" ,
2023-06-02 03:58:14 +00:00
}