Updata:更新字段
This commit is contained in:
parent
013c14b9f7
commit
f219ed3b05
@ -70,7 +70,7 @@ func (b *BundleProvider) GetInvoiceInfoByOrderNo(_ context.Context, req *bundle.
|
||||
}
|
||||
|
||||
// 获取最后一张发票编号
|
||||
func (b *BundleProvider) GetLastInvoiceNo(_ context.Context, req *bundle.GetInvoiceLastNoReq) (*bundle.GetInvoiceLastNoResp, error) {
|
||||
func (b *BundleProvider) GetLastInvoiceNo(_ context.Context, req *bundle.GetLastInvoiceNoReq) (*bundle.GetLastInvoiceNoResp, error) {
|
||||
res, err := logic.GetLastInvoiceNo(req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@ -108,8 +108,8 @@ func GetInvoiceInfoByOrderNo(req *bundle.GetInvoiceInfoByOrderNoReq) (*bundle.Ge
|
||||
return res, nil
|
||||
}
|
||||
|
||||
func GetLastInvoiceNo(req *bundle.GetInvoiceLastNoReq) (*bundle.GetInvoiceLastNoResp, error) {
|
||||
res := new(bundle.GetInvoiceLastNoResp)
|
||||
func GetLastInvoiceNo(req *bundle.GetLastInvoiceNoReq) (*bundle.GetLastInvoiceNoResp, error) {
|
||||
res := new(bundle.GetLastInvoiceNoResp)
|
||||
lastNo, err := dao.GetLastInvoiceNo()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@ -121,7 +121,7 @@ service Bundle {
|
||||
rpc GetInvoiceExpressInfo(GetInvoiceExpressInfoReq) returns (GetInvoiceExpressInfoResp) {}//获取发票快递信息
|
||||
rpc GetOrderInfoByOrderNo(GetOrderInfoByOrderNoReq) returns (GetOrderInfoByOrderNoResp) {}//获取订单信息
|
||||
rpc GetInvoiceInfoByOrderNo(GetInvoiceInfoByOrderNoReq) returns (GetInvoiceInfoByOrderNoResp) {}//获取发票信息
|
||||
rpc GetLastInvoiceNo(GetInvoiceLastNoReq) returns (GetInvoiceLastNoResp) {}//获取最后一张发票编号
|
||||
rpc GetLastInvoiceNo(GetLastInvoiceNoReq) returns (GetLastInvoiceNoResp) {}//获取最后一张发票编号
|
||||
|
||||
//临时接口
|
||||
rpc ExportWorkCastInfo(ExportWorkCastInfoReq) returns (ExportWorkCastInfoResp) {}
|
||||
@ -2045,9 +2045,9 @@ message GetInvoiceInfoByOrderNoResp{
|
||||
repeated InvoiceInfoByOrderNo data = 1;
|
||||
}
|
||||
|
||||
message GetInvoiceLastNoReq{
|
||||
message GetLastInvoiceNoReq{
|
||||
}
|
||||
|
||||
message GetInvoiceLastNoResp{
|
||||
message GetLastInvoiceNoResp{
|
||||
string lastNo = 1;
|
||||
}
|
||||
@ -17370,14 +17370,14 @@ func (x *GetInvoiceInfoByOrderNoResp) GetData() []*InvoiceInfoByOrderNo {
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetInvoiceLastNoReq struct {
|
||||
type GetLastInvoiceNoReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *GetInvoiceLastNoReq) Reset() {
|
||||
*x = GetInvoiceLastNoReq{}
|
||||
func (x *GetLastInvoiceNoReq) Reset() {
|
||||
*x = GetLastInvoiceNoReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[181]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@ -17385,13 +17385,13 @@ func (x *GetInvoiceLastNoReq) Reset() {
|
||||
}
|
||||
}
|
||||
|
||||
func (x *GetInvoiceLastNoReq) String() string {
|
||||
func (x *GetLastInvoiceNoReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetInvoiceLastNoReq) ProtoMessage() {}
|
||||
func (*GetLastInvoiceNoReq) ProtoMessage() {}
|
||||
|
||||
func (x *GetInvoiceLastNoReq) ProtoReflect() protoreflect.Message {
|
||||
func (x *GetLastInvoiceNoReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[181]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@ -17403,12 +17403,12 @@ func (x *GetInvoiceLastNoReq) ProtoReflect() protoreflect.Message {
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetInvoiceLastNoReq.ProtoReflect.Descriptor instead.
|
||||
func (*GetInvoiceLastNoReq) Descriptor() ([]byte, []int) {
|
||||
// Deprecated: Use GetLastInvoiceNoReq.ProtoReflect.Descriptor instead.
|
||||
func (*GetLastInvoiceNoReq) Descriptor() ([]byte, []int) {
|
||||
return file_pb_bundle_proto_rawDescGZIP(), []int{181}
|
||||
}
|
||||
|
||||
type GetInvoiceLastNoResp struct {
|
||||
type GetLastInvoiceNoResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@ -17416,8 +17416,8 @@ type GetInvoiceLastNoResp struct {
|
||||
LastNo string `protobuf:"bytes,1,opt,name=lastNo,proto3" json:"lastNo"`
|
||||
}
|
||||
|
||||
func (x *GetInvoiceLastNoResp) Reset() {
|
||||
*x = GetInvoiceLastNoResp{}
|
||||
func (x *GetLastInvoiceNoResp) Reset() {
|
||||
*x = GetLastInvoiceNoResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[182]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@ -17425,13 +17425,13 @@ func (x *GetInvoiceLastNoResp) Reset() {
|
||||
}
|
||||
}
|
||||
|
||||
func (x *GetInvoiceLastNoResp) String() string {
|
||||
func (x *GetLastInvoiceNoResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetInvoiceLastNoResp) ProtoMessage() {}
|
||||
func (*GetLastInvoiceNoResp) ProtoMessage() {}
|
||||
|
||||
func (x *GetInvoiceLastNoResp) ProtoReflect() protoreflect.Message {
|
||||
func (x *GetLastInvoiceNoResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[182]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@ -17443,12 +17443,12 @@ func (x *GetInvoiceLastNoResp) ProtoReflect() protoreflect.Message {
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetInvoiceLastNoResp.ProtoReflect.Descriptor instead.
|
||||
func (*GetInvoiceLastNoResp) Descriptor() ([]byte, []int) {
|
||||
// Deprecated: Use GetLastInvoiceNoResp.ProtoReflect.Descriptor instead.
|
||||
func (*GetLastInvoiceNoResp) Descriptor() ([]byte, []int) {
|
||||
return file_pb_bundle_proto_rawDescGZIP(), []int{182}
|
||||
}
|
||||
|
||||
func (x *GetInvoiceLastNoResp) GetLastNo() string {
|
||||
func (x *GetLastInvoiceNoResp) GetLastNo() string {
|
||||
if x != nil {
|
||||
return x.LastNo
|
||||
}
|
||||
@ -21104,9 +21104,9 @@ var file_pb_bundle_proto_rawDesc = []byte{
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e,
|
||||
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x4f, 0x72, 0x64,
|
||||
0x65, 0x72, 0x4e, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65,
|
||||
0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x6f, 0x52, 0x65,
|
||||
0x71, 0x22, 0x2e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4c,
|
||||
0x61, 0x73, 0x74, 0x4e, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x73,
|
||||
0x74, 0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x52, 0x65,
|
||||
0x71, 0x22, 0x2e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f,
|
||||
0x69, 0x63, 0x65, 0x4e, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x73,
|
||||
0x74, 0x4e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x4e,
|
||||
0x6f, 0x32, 0xa6, 0x40, 0x0a, 0x06, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x3f, 0x0a, 0x0c,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x15, 0x2e, 0x62,
|
||||
@ -21612,11 +21612,11 @@ var file_pb_bundle_proto_rawDesc = []byte{
|
||||
0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x62, 0x75,
|
||||
0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x49,
|
||||
0x6e, 0x66, 0x6f, 0x42, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x52, 0x65, 0x73, 0x70,
|
||||
0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
|
||||
0x4c, 0x61, 0x73, 0x74, 0x4e, 0x6f, 0x12, 0x1b, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x6f,
|
||||
0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x76,
|
||||
0x6f, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x12, 0x1b, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4e, 0x6f,
|
||||
0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x6f, 0x52, 0x65, 0x73,
|
||||
0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x52, 0x65, 0x73,
|
||||
0x70, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x57, 0x6f, 0x72,
|
||||
0x6b, 0x43, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x2e, 0x62, 0x75, 0x6e, 0x64,
|
||||
0x6c, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x43, 0x61, 0x73,
|
||||
@ -21821,8 +21821,8 @@ var file_pb_bundle_proto_goTypes = []interface{}{
|
||||
(*GetInvoiceInfoByOrderNoReq)(nil), // 178: bundle.GetInvoiceInfoByOrderNoReq
|
||||
(*InvoiceInfoByOrderNo)(nil), // 179: bundle.InvoiceInfoByOrderNo
|
||||
(*GetInvoiceInfoByOrderNoResp)(nil), // 180: bundle.GetInvoiceInfoByOrderNoResp
|
||||
(*GetInvoiceLastNoReq)(nil), // 181: bundle.GetInvoiceLastNoReq
|
||||
(*GetInvoiceLastNoResp)(nil), // 182: bundle.GetInvoiceLastNoResp
|
||||
(*GetLastInvoiceNoReq)(nil), // 181: bundle.GetLastInvoiceNoReq
|
||||
(*GetLastInvoiceNoResp)(nil), // 182: bundle.GetLastInvoiceNoResp
|
||||
}
|
||||
var file_pb_bundle_proto_depIdxs = []int32{
|
||||
2, // 0: bundle.QueryTheOrderSnapshotInformationResp.bundleOrder:type_name -> bundle.ServiceInformation
|
||||
@ -21963,7 +21963,7 @@ var file_pb_bundle_proto_depIdxs = []int32{
|
||||
171, // 135: bundle.Bundle.GetInvoiceExpressInfo:input_type -> bundle.GetInvoiceExpressInfoReq
|
||||
173, // 136: bundle.Bundle.GetOrderInfoByOrderNo:input_type -> bundle.GetOrderInfoByOrderNoReq
|
||||
178, // 137: bundle.Bundle.GetInvoiceInfoByOrderNo:input_type -> bundle.GetInvoiceInfoByOrderNoReq
|
||||
181, // 138: bundle.Bundle.GetInvoiceLastNo:input_type -> bundle.GetInvoiceLastNoReq
|
||||
181, // 138: bundle.Bundle.GetLastInvoiceNo:input_type -> bundle.GetLastInvoiceNoReq
|
||||
176, // 139: bundle.Bundle.ExportWorkCastInfo:input_type -> bundle.ExportWorkCastInfoReq
|
||||
17, // 140: bundle.Bundle.CreateBundle:output_type -> bundle.CommonResponse
|
||||
17, // 141: bundle.Bundle.UpdateBundle:output_type -> bundle.CommonResponse
|
||||
@ -22055,7 +22055,7 @@ var file_pb_bundle_proto_depIdxs = []int32{
|
||||
172, // 227: bundle.Bundle.GetInvoiceExpressInfo:output_type -> bundle.GetInvoiceExpressInfoResp
|
||||
174, // 228: bundle.Bundle.GetOrderInfoByOrderNo:output_type -> bundle.GetOrderInfoByOrderNoResp
|
||||
180, // 229: bundle.Bundle.GetInvoiceInfoByOrderNo:output_type -> bundle.GetInvoiceInfoByOrderNoResp
|
||||
182, // 230: bundle.Bundle.GetInvoiceLastNo:output_type -> bundle.GetInvoiceLastNoResp
|
||||
182, // 230: bundle.Bundle.GetLastInvoiceNo:output_type -> bundle.GetLastInvoiceNoResp
|
||||
177, // 231: bundle.Bundle.ExportWorkCastInfo:output_type -> bundle.ExportWorkCastInfoResp
|
||||
140, // [140:232] is the sub-list for method output_type
|
||||
48, // [48:140] is the sub-list for method input_type
|
||||
@ -24243,7 +24243,7 @@ func file_pb_bundle_proto_init() {
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*GetInvoiceLastNoReq); i {
|
||||
switch v := v.(*GetLastInvoiceNoReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@ -24255,7 +24255,7 @@ func file_pb_bundle_proto_init() {
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*GetInvoiceLastNoResp); i {
|
||||
switch v := v.(*GetLastInvoiceNoResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
|
||||
@ -890,9 +890,9 @@ func (this *GetInvoiceInfoByOrderNoResp) Validate() error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (this *GetInvoiceLastNoReq) Validate() error {
|
||||
func (this *GetLastInvoiceNoReq) Validate() error {
|
||||
return nil
|
||||
}
|
||||
func (this *GetInvoiceLastNoResp) Validate() error {
|
||||
func (this *GetLastInvoiceNoResp) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -127,7 +127,7 @@ type BundleClient interface {
|
||||
GetInvoiceExpressInfo(ctx context.Context, in *GetInvoiceExpressInfoReq, opts ...grpc_go.CallOption) (*GetInvoiceExpressInfoResp, common.ErrorWithAttachment)
|
||||
GetOrderInfoByOrderNo(ctx context.Context, in *GetOrderInfoByOrderNoReq, opts ...grpc_go.CallOption) (*GetOrderInfoByOrderNoResp, common.ErrorWithAttachment)
|
||||
GetInvoiceInfoByOrderNo(ctx context.Context, in *GetInvoiceInfoByOrderNoReq, opts ...grpc_go.CallOption) (*GetInvoiceInfoByOrderNoResp, common.ErrorWithAttachment)
|
||||
GetInvoiceLastNo(ctx context.Context, in *GetInvoiceLastNoReq, opts ...grpc_go.CallOption) (*GetInvoiceLastNoResp, common.ErrorWithAttachment)
|
||||
GetLastInvoiceNo(ctx context.Context, in *GetLastInvoiceNoReq, opts ...grpc_go.CallOption) (*GetLastInvoiceNoResp, common.ErrorWithAttachment)
|
||||
// 临时接口
|
||||
ExportWorkCastInfo(ctx context.Context, in *ExportWorkCastInfoReq, opts ...grpc_go.CallOption) (*ExportWorkCastInfoResp, common.ErrorWithAttachment)
|
||||
}
|
||||
@ -227,7 +227,7 @@ type BundleClientImpl struct {
|
||||
GetInvoiceExpressInfo func(ctx context.Context, in *GetInvoiceExpressInfoReq) (*GetInvoiceExpressInfoResp, error)
|
||||
GetOrderInfoByOrderNo func(ctx context.Context, in *GetOrderInfoByOrderNoReq) (*GetOrderInfoByOrderNoResp, error)
|
||||
GetInvoiceInfoByOrderNo func(ctx context.Context, in *GetInvoiceInfoByOrderNoReq) (*GetInvoiceInfoByOrderNoResp, error)
|
||||
GetInvoiceLastNo func(ctx context.Context, in *GetInvoiceLastNoReq) (*GetInvoiceLastNoResp, error)
|
||||
GetLastInvoiceNo func(ctx context.Context, in *GetLastInvoiceNoReq) (*GetLastInvoiceNoResp, error)
|
||||
ExportWorkCastInfo func(ctx context.Context, in *ExportWorkCastInfoReq) (*ExportWorkCastInfoResp, error)
|
||||
}
|
||||
|
||||
@ -783,10 +783,10 @@ func (c *bundleClient) GetInvoiceInfoByOrderNo(ctx context.Context, in *GetInvoi
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetInvoiceInfoByOrderNo", in, out)
|
||||
}
|
||||
|
||||
func (c *bundleClient) GetInvoiceLastNo(ctx context.Context, in *GetInvoiceLastNoReq, opts ...grpc_go.CallOption) (*GetInvoiceLastNoResp, common.ErrorWithAttachment) {
|
||||
out := new(GetInvoiceLastNoResp)
|
||||
func (c *bundleClient) GetLastInvoiceNo(ctx context.Context, in *GetLastInvoiceNoReq, opts ...grpc_go.CallOption) (*GetLastInvoiceNoResp, common.ErrorWithAttachment) {
|
||||
out := new(GetLastInvoiceNoResp)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetInvoiceLastNo", in, out)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetLastInvoiceNo", in, out)
|
||||
}
|
||||
|
||||
func (c *bundleClient) ExportWorkCastInfo(ctx context.Context, in *ExportWorkCastInfoReq, opts ...grpc_go.CallOption) (*ExportWorkCastInfoResp, common.ErrorWithAttachment) {
|
||||
@ -898,7 +898,7 @@ type BundleServer interface {
|
||||
GetInvoiceExpressInfo(context.Context, *GetInvoiceExpressInfoReq) (*GetInvoiceExpressInfoResp, error)
|
||||
GetOrderInfoByOrderNo(context.Context, *GetOrderInfoByOrderNoReq) (*GetOrderInfoByOrderNoResp, error)
|
||||
GetInvoiceInfoByOrderNo(context.Context, *GetInvoiceInfoByOrderNoReq) (*GetInvoiceInfoByOrderNoResp, error)
|
||||
GetInvoiceLastNo(context.Context, *GetInvoiceLastNoReq) (*GetInvoiceLastNoResp, error)
|
||||
GetLastInvoiceNo(context.Context, *GetLastInvoiceNoReq) (*GetLastInvoiceNoResp, error)
|
||||
// 临时接口
|
||||
ExportWorkCastInfo(context.Context, *ExportWorkCastInfoReq) (*ExportWorkCastInfoResp, error)
|
||||
mustEmbedUnimplementedBundleServer()
|
||||
@ -1179,8 +1179,8 @@ func (UnimplementedBundleServer) GetOrderInfoByOrderNo(context.Context, *GetOrde
|
||||
func (UnimplementedBundleServer) GetInvoiceInfoByOrderNo(context.Context, *GetInvoiceInfoByOrderNoReq) (*GetInvoiceInfoByOrderNoResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetInvoiceInfoByOrderNo not implemented")
|
||||
}
|
||||
func (UnimplementedBundleServer) GetInvoiceLastNo(context.Context, *GetInvoiceLastNoReq) (*GetInvoiceLastNoResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetInvoiceLastNo not implemented")
|
||||
func (UnimplementedBundleServer) GetLastInvoiceNo(context.Context, *GetLastInvoiceNoReq) (*GetLastInvoiceNoResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetLastInvoiceNo not implemented")
|
||||
}
|
||||
func (UnimplementedBundleServer) ExportWorkCastInfo(context.Context, *ExportWorkCastInfoReq) (*ExportWorkCastInfoResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ExportWorkCastInfo not implemented")
|
||||
@ -3823,8 +3823,8 @@ func _Bundle_GetInvoiceInfoByOrderNo_Handler(srv interface{}, ctx context.Contex
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Bundle_GetInvoiceLastNo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetInvoiceLastNoReq)
|
||||
func _Bundle_GetLastInvoiceNo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetLastInvoiceNoReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -3836,7 +3836,7 @@ func _Bundle_GetInvoiceLastNo_Handler(srv interface{}, ctx context.Context, dec
|
||||
for k, v := range md {
|
||||
invAttachment[k] = v
|
||||
}
|
||||
invo := invocation.NewRPCInvocation("GetInvoiceLastNo", args, invAttachment)
|
||||
invo := invocation.NewRPCInvocation("GetLastInvoiceNo", args, invAttachment)
|
||||
if interceptor == nil {
|
||||
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
||||
return result, result.Error()
|
||||
@ -4249,8 +4249,8 @@ var Bundle_ServiceDesc = grpc_go.ServiceDesc{
|
||||
Handler: _Bundle_GetInvoiceInfoByOrderNo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetInvoiceLastNo",
|
||||
Handler: _Bundle_GetInvoiceLastNo_Handler,
|
||||
MethodName: "GetLastInvoiceNo",
|
||||
Handler: _Bundle_GetLastInvoiceNo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ExportWorkCastInfo",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user