2023-03-22 08:16:16 +00:00
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.8
// - protoc v3.21.8
2023-04-17 01:35:03 +00:00
// source: Statement.proto
2023-03-22 08:16:16 +00:00
package statement
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
// StatementClient is the client API for Statement service.
//
// 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.
type StatementClient interface {
2023-04-17 01:35:03 +00:00
UploadExcelOneTx ( ctx context . Context , in * UploadExcelOneTxRequest , opts ... grpc_go . CallOption ) ( * UploadExcelOneTxRespond , common . ErrorWithAttachment )
UploadExcelTwoTx ( ctx context . Context , in * UploadExcelTwoTxRequest , opts ... grpc_go . CallOption ) ( * UploadExcelTwoTxRespond , common . ErrorWithAttachment )
UploadExcelOneCopy ( ctx context . Context , in * UploadExcelOneCopyRequest , opts ... grpc_go . CallOption ) ( * UploadExcelOneCopyRespond , common . ErrorWithAttachment )
UploadExcelTwoCopy ( ctx context . Context , in * UploadExcelTwoCopyRequest , opts ... grpc_go . CallOption ) ( * UploadExcelTwoCopyRespond , common . ErrorWithAttachment )
GetAllBatchTimeTx ( ctx context . Context , in * GetAllBatchTimeTxRequest , opts ... grpc_go . CallOption ) ( * GetAllBatchTimeTxRespond , common . ErrorWithAttachment )
GetAllBatchTimeCopy ( ctx context . Context , in * GetAllBatchTimeCopyRequest , opts ... grpc_go . CallOption ) ( * GetAllBatchTimeCopyRespond , common . ErrorWithAttachment )
GetArtworkSoldTxDetailList ( ctx context . Context , in * GetArtworkSoldTxDetailListRequest , opts ... grpc_go . CallOption ) ( * GetArtworkSoldTxDetailListRespond , common . ErrorWithAttachment )
GetArtworkSoldCopyDetailList ( ctx context . Context , in * GetArtworkSoldCopyDetailListRequest , opts ... grpc_go . CallOption ) ( * GetArtworkSoldCopyDetailListRespond , common . ErrorWithAttachment )
2023-03-22 08:16:16 +00:00
StatementList ( ctx context . Context , in * StatementListRequest , opts ... grpc_go . CallOption ) ( * StatementListRespond , common . ErrorWithAttachment )
2023-03-23 09:17:29 +00:00
GetTxInfoByBatchUid ( ctx context . Context , in * GetTxInfoByBatchUidRequest , opts ... grpc_go . CallOption ) ( * GetTxInfoByBatchUidRespond , common . ErrorWithAttachment )
2023-03-24 06:11:43 +00:00
GetCopyInfoByBatchUid ( ctx context . Context , in * GetCopyInfoByBatchUidRequest , opts ... grpc_go . CallOption ) ( * GetCopyInfoByBatchUidRespond , common . ErrorWithAttachment )
2023-03-22 08:16:16 +00:00
}
type statementClient struct {
cc * triple . TripleConn
}
type StatementClientImpl struct {
2023-04-17 01:35:03 +00:00
UploadExcelOneTx func ( ctx context . Context , in * UploadExcelOneTxRequest ) ( * UploadExcelOneTxRespond , error )
UploadExcelTwoTx func ( ctx context . Context , in * UploadExcelTwoTxRequest ) ( * UploadExcelTwoTxRespond , error )
UploadExcelOneCopy func ( ctx context . Context , in * UploadExcelOneCopyRequest ) ( * UploadExcelOneCopyRespond , error )
UploadExcelTwoCopy func ( ctx context . Context , in * UploadExcelTwoCopyRequest ) ( * UploadExcelTwoCopyRespond , error )
GetAllBatchTimeTx func ( ctx context . Context , in * GetAllBatchTimeTxRequest ) ( * GetAllBatchTimeTxRespond , error )
GetAllBatchTimeCopy func ( ctx context . Context , in * GetAllBatchTimeCopyRequest ) ( * GetAllBatchTimeCopyRespond , error )
GetArtworkSoldTxDetailList func ( ctx context . Context , in * GetArtworkSoldTxDetailListRequest ) ( * GetArtworkSoldTxDetailListRespond , error )
GetArtworkSoldCopyDetailList func ( ctx context . Context , in * GetArtworkSoldCopyDetailListRequest ) ( * GetArtworkSoldCopyDetailListRespond , error )
StatementList func ( ctx context . Context , in * StatementListRequest ) ( * StatementListRespond , error )
GetTxInfoByBatchUid func ( ctx context . Context , in * GetTxInfoByBatchUidRequest ) ( * GetTxInfoByBatchUidRespond , error )
GetCopyInfoByBatchUid func ( ctx context . Context , in * GetCopyInfoByBatchUidRequest ) ( * GetCopyInfoByBatchUidRespond , error )
2023-03-22 08:16:16 +00:00
}
func ( c * StatementClientImpl ) GetDubboStub ( cc * triple . TripleConn ) StatementClient {
return NewStatementClient ( cc )
}
func ( c * StatementClientImpl ) XXX_InterfaceName ( ) string {
return "statement.Statement"
}
func NewStatementClient ( cc * triple . TripleConn ) StatementClient {
return & statementClient { cc }
}
2023-04-17 01:35:03 +00:00
func ( c * statementClient ) UploadExcelOneTx ( ctx context . Context , in * UploadExcelOneTxRequest , opts ... grpc_go . CallOption ) ( * UploadExcelOneTxRespond , common . ErrorWithAttachment ) {
out := new ( UploadExcelOneTxRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UploadExcelOneTx" , in , out )
}
func ( c * statementClient ) UploadExcelTwoTx ( ctx context . Context , in * UploadExcelTwoTxRequest , opts ... grpc_go . CallOption ) ( * UploadExcelTwoTxRespond , common . ErrorWithAttachment ) {
out := new ( UploadExcelTwoTxRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UploadExcelTwoTx" , in , out )
}
func ( c * statementClient ) UploadExcelOneCopy ( ctx context . Context , in * UploadExcelOneCopyRequest , opts ... grpc_go . CallOption ) ( * UploadExcelOneCopyRespond , common . ErrorWithAttachment ) {
out := new ( UploadExcelOneCopyRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UploadExcelOneCopy" , in , out )
}
func ( c * statementClient ) UploadExcelTwoCopy ( ctx context . Context , in * UploadExcelTwoCopyRequest , opts ... grpc_go . CallOption ) ( * UploadExcelTwoCopyRespond , common . ErrorWithAttachment ) {
out := new ( UploadExcelTwoCopyRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UploadExcelTwoCopy" , in , out )
}
func ( c * statementClient ) GetAllBatchTimeTx ( ctx context . Context , in * GetAllBatchTimeTxRequest , opts ... grpc_go . CallOption ) ( * GetAllBatchTimeTxRespond , common . ErrorWithAttachment ) {
out := new ( GetAllBatchTimeTxRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetAllBatchTimeTx" , in , out )
}
func ( c * statementClient ) GetAllBatchTimeCopy ( ctx context . Context , in * GetAllBatchTimeCopyRequest , opts ... grpc_go . CallOption ) ( * GetAllBatchTimeCopyRespond , common . ErrorWithAttachment ) {
out := new ( GetAllBatchTimeCopyRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetAllBatchTimeCopy" , in , out )
}
func ( c * statementClient ) GetArtworkSoldTxDetailList ( ctx context . Context , in * GetArtworkSoldTxDetailListRequest , opts ... grpc_go . CallOption ) ( * GetArtworkSoldTxDetailListRespond , common . ErrorWithAttachment ) {
out := new ( GetArtworkSoldTxDetailListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetArtworkSoldTxDetailList" , in , out )
}
func ( c * statementClient ) GetArtworkSoldCopyDetailList ( ctx context . Context , in * GetArtworkSoldCopyDetailListRequest , opts ... grpc_go . CallOption ) ( * GetArtworkSoldCopyDetailListRespond , common . ErrorWithAttachment ) {
out := new ( GetArtworkSoldCopyDetailListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetArtworkSoldCopyDetailList" , in , out )
}
2023-03-22 08:16:16 +00:00
func ( c * statementClient ) StatementList ( ctx context . Context , in * StatementListRequest , opts ... grpc_go . CallOption ) ( * StatementListRespond , common . ErrorWithAttachment ) {
out := new ( StatementListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/StatementList" , in , out )
}
2023-03-23 09:17:29 +00:00
func ( c * statementClient ) GetTxInfoByBatchUid ( ctx context . Context , in * GetTxInfoByBatchUidRequest , opts ... grpc_go . CallOption ) ( * GetTxInfoByBatchUidRespond , common . ErrorWithAttachment ) {
out := new ( GetTxInfoByBatchUidRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetTxInfoByBatchUid" , in , out )
}
2023-03-24 06:11:43 +00:00
func ( c * statementClient ) GetCopyInfoByBatchUid ( ctx context . Context , in * GetCopyInfoByBatchUidRequest , opts ... grpc_go . CallOption ) ( * GetCopyInfoByBatchUidRespond , common . ErrorWithAttachment ) {
out := new ( GetCopyInfoByBatchUidRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetCopyInfoByBatchUid" , in , out )
}
2023-03-22 08:16:16 +00:00
// StatementServer is the server API for Statement service.
// All implementations must embed UnimplementedStatementServer
// for forward compatibility
type StatementServer interface {
2023-04-17 01:35:03 +00:00
UploadExcelOneTx ( context . Context , * UploadExcelOneTxRequest ) ( * UploadExcelOneTxRespond , error )
UploadExcelTwoTx ( context . Context , * UploadExcelTwoTxRequest ) ( * UploadExcelTwoTxRespond , error )
UploadExcelOneCopy ( context . Context , * UploadExcelOneCopyRequest ) ( * UploadExcelOneCopyRespond , error )
UploadExcelTwoCopy ( context . Context , * UploadExcelTwoCopyRequest ) ( * UploadExcelTwoCopyRespond , error )
GetAllBatchTimeTx ( context . Context , * GetAllBatchTimeTxRequest ) ( * GetAllBatchTimeTxRespond , error )
GetAllBatchTimeCopy ( context . Context , * GetAllBatchTimeCopyRequest ) ( * GetAllBatchTimeCopyRespond , error )
GetArtworkSoldTxDetailList ( context . Context , * GetArtworkSoldTxDetailListRequest ) ( * GetArtworkSoldTxDetailListRespond , error )
GetArtworkSoldCopyDetailList ( context . Context , * GetArtworkSoldCopyDetailListRequest ) ( * GetArtworkSoldCopyDetailListRespond , error )
2023-03-22 08:16:16 +00:00
StatementList ( context . Context , * StatementListRequest ) ( * StatementListRespond , error )
2023-03-23 09:17:29 +00:00
GetTxInfoByBatchUid ( context . Context , * GetTxInfoByBatchUidRequest ) ( * GetTxInfoByBatchUidRespond , error )
2023-03-24 06:11:43 +00:00
GetCopyInfoByBatchUid ( context . Context , * GetCopyInfoByBatchUidRequest ) ( * GetCopyInfoByBatchUidRespond , error )
2023-03-22 08:16:16 +00:00
mustEmbedUnimplementedStatementServer ( )
}
// UnimplementedStatementServer must be embedded to have forward compatible implementations.
type UnimplementedStatementServer struct {
proxyImpl protocol . Invoker
}
2023-04-17 01:35:03 +00:00
func ( UnimplementedStatementServer ) UploadExcelOneTx ( context . Context , * UploadExcelOneTxRequest ) ( * UploadExcelOneTxRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UploadExcelOneTx not implemented" )
}
func ( UnimplementedStatementServer ) UploadExcelTwoTx ( context . Context , * UploadExcelTwoTxRequest ) ( * UploadExcelTwoTxRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UploadExcelTwoTx not implemented" )
}
func ( UnimplementedStatementServer ) UploadExcelOneCopy ( context . Context , * UploadExcelOneCopyRequest ) ( * UploadExcelOneCopyRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UploadExcelOneCopy not implemented" )
}
func ( UnimplementedStatementServer ) UploadExcelTwoCopy ( context . Context , * UploadExcelTwoCopyRequest ) ( * UploadExcelTwoCopyRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UploadExcelTwoCopy not implemented" )
}
func ( UnimplementedStatementServer ) GetAllBatchTimeTx ( context . Context , * GetAllBatchTimeTxRequest ) ( * GetAllBatchTimeTxRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetAllBatchTimeTx not implemented" )
}
func ( UnimplementedStatementServer ) GetAllBatchTimeCopy ( context . Context , * GetAllBatchTimeCopyRequest ) ( * GetAllBatchTimeCopyRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetAllBatchTimeCopy not implemented" )
}
func ( UnimplementedStatementServer ) GetArtworkSoldTxDetailList ( context . Context , * GetArtworkSoldTxDetailListRequest ) ( * GetArtworkSoldTxDetailListRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetArtworkSoldTxDetailList not implemented" )
}
func ( UnimplementedStatementServer ) GetArtworkSoldCopyDetailList ( context . Context , * GetArtworkSoldCopyDetailListRequest ) ( * GetArtworkSoldCopyDetailListRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetArtworkSoldCopyDetailList not implemented" )
}
2023-03-22 08:16:16 +00:00
func ( UnimplementedStatementServer ) StatementList ( context . Context , * StatementListRequest ) ( * StatementListRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method StatementList not implemented" )
}
2023-03-23 09:17:29 +00:00
func ( UnimplementedStatementServer ) GetTxInfoByBatchUid ( context . Context , * GetTxInfoByBatchUidRequest ) ( * GetTxInfoByBatchUidRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetTxInfoByBatchUid not implemented" )
}
2023-03-24 06:11:43 +00:00
func ( UnimplementedStatementServer ) GetCopyInfoByBatchUid ( context . Context , * GetCopyInfoByBatchUidRequest ) ( * GetCopyInfoByBatchUidRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetCopyInfoByBatchUid not implemented" )
}
2023-03-22 08:16:16 +00:00
func ( s * UnimplementedStatementServer ) XXX_SetProxyImpl ( impl protocol . Invoker ) {
s . proxyImpl = impl
}
func ( s * UnimplementedStatementServer ) XXX_GetProxyImpl ( ) protocol . Invoker {
return s . proxyImpl
}
func ( s * UnimplementedStatementServer ) XXX_ServiceDesc ( ) * grpc_go . ServiceDesc {
return & Statement_ServiceDesc
}
func ( s * UnimplementedStatementServer ) XXX_InterfaceName ( ) string {
return "statement.Statement"
}
func ( UnimplementedStatementServer ) mustEmbedUnimplementedStatementServer ( ) { }
// UnsafeStatementServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to StatementServer will
// result in compilation errors.
type UnsafeStatementServer interface {
mustEmbedUnimplementedStatementServer ( )
}
func RegisterStatementServer ( s grpc_go . ServiceRegistrar , srv StatementServer ) {
s . RegisterService ( & Statement_ServiceDesc , srv )
}
2023-04-17 01:35:03 +00:00
func _Statement_UploadExcelOneTx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UploadExcelOneTxRequest )
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 ( "UploadExcelOneTx" , 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 )
}
func _Statement_UploadExcelTwoTx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UploadExcelTwoTxRequest )
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 ( "UploadExcelTwoTx" , 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 )
}
func _Statement_UploadExcelOneCopy_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UploadExcelOneCopyRequest )
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 ( "UploadExcelOneCopy" , 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 )
}
func _Statement_UploadExcelTwoCopy_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UploadExcelTwoCopyRequest )
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 ( "UploadExcelTwoCopy" , 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 )
}
func _Statement_GetAllBatchTimeTx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetAllBatchTimeTxRequest )
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 ( "GetAllBatchTimeTx" , 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 )
}
func _Statement_GetAllBatchTimeCopy_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetAllBatchTimeCopyRequest )
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 ( "GetAllBatchTimeCopy" , 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 )
}
func _Statement_GetArtworkSoldTxDetailList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetArtworkSoldTxDetailListRequest )
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 ( "GetArtworkSoldTxDetailList" , 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 )
}
func _Statement_GetArtworkSoldCopyDetailList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetArtworkSoldCopyDetailListRequest )
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 ( "GetArtworkSoldCopyDetailList" , 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-03-22 08:16:16 +00:00
func _Statement_StatementList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( StatementListRequest )
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 ( "StatementList" , 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-03-24 06:11:43 +00:00
func _Statement_GetTxInfoByBatchUid_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetTxInfoByBatchUidRequest )
2023-03-23 09:17:29 +00:00
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
}
2023-03-24 06:11:43 +00:00
invo := invocation . NewRPCInvocation ( "GetTxInfoByBatchUid" , args , invAttachment )
2023-03-23 09:17:29 +00:00
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-03-24 06:11:43 +00:00
func _Statement_GetCopyInfoByBatchUid_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetCopyInfoByBatchUidRequest )
2023-03-23 09:17:29 +00:00
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
}
2023-03-24 06:11:43 +00:00
invo := invocation . NewRPCInvocation ( "GetCopyInfoByBatchUid" , args , invAttachment )
2023-03-23 09:17:29 +00:00
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-03-22 08:16:16 +00:00
// Statement_ServiceDesc is the grpc_go.ServiceDesc for Statement service.
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
var Statement_ServiceDesc = grpc_go . ServiceDesc {
ServiceName : "statement.Statement" ,
HandlerType : ( * StatementServer ) ( nil ) ,
Methods : [ ] grpc_go . MethodDesc {
2023-04-17 01:35:03 +00:00
{
MethodName : "UploadExcelOneTx" ,
Handler : _Statement_UploadExcelOneTx_Handler ,
} ,
{
MethodName : "UploadExcelTwoTx" ,
Handler : _Statement_UploadExcelTwoTx_Handler ,
} ,
{
MethodName : "UploadExcelOneCopy" ,
Handler : _Statement_UploadExcelOneCopy_Handler ,
} ,
{
MethodName : "UploadExcelTwoCopy" ,
Handler : _Statement_UploadExcelTwoCopy_Handler ,
} ,
{
MethodName : "GetAllBatchTimeTx" ,
Handler : _Statement_GetAllBatchTimeTx_Handler ,
} ,
{
MethodName : "GetAllBatchTimeCopy" ,
Handler : _Statement_GetAllBatchTimeCopy_Handler ,
} ,
{
MethodName : "GetArtworkSoldTxDetailList" ,
Handler : _Statement_GetArtworkSoldTxDetailList_Handler ,
} ,
{
MethodName : "GetArtworkSoldCopyDetailList" ,
Handler : _Statement_GetArtworkSoldCopyDetailList_Handler ,
} ,
2023-03-22 08:16:16 +00:00
{
MethodName : "StatementList" ,
Handler : _Statement_StatementList_Handler ,
} ,
2023-03-23 09:17:29 +00:00
{
MethodName : "GetTxInfoByBatchUid" ,
Handler : _Statement_GetTxInfoByBatchUid_Handler ,
} ,
2023-03-24 06:11:43 +00:00
{
MethodName : "GetCopyInfoByBatchUid" ,
Handler : _Statement_GetCopyInfoByBatchUid_Handler ,
} ,
2023-03-22 08:16:16 +00:00
} ,
Streams : [ ] grpc_go . StreamDesc { } ,
2023-04-17 01:35:03 +00:00
Metadata : "Statement.proto" ,
2023-03-22 08:16:16 +00:00
}