Compare commits

..

No commits in common. "59ad6045fe95697107f3b5f494e4343ca9a4f91b" and "58e7d6ead10a68876a88c5f0c3f75b6a517d1e43" have entirely different histories.

17 changed files with 283 additions and 1936 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,13 +13,10 @@ service Members{
rpc GetMemberList(GetMemberListReq) returns (GetMemberListResp); rpc GetMemberList(GetMemberListReq) returns (GetMemberListResp);
//========================================================================== //==========================================================================
rpc EditManagement(EditManagementReq) returns (EditManagementResp); rpc EditManagement(EditManagementReq) returns (EditManagementResp);
rpc DisplayManagement(DisplayManagementReq) returns (DisplayManagementResp);
//========================================================================== //==========================================================================
rpc EditBoardOfDirectors(EditBoardOfDirectorsReq) returns (EditBoardOfDirectorsResp); rpc EditBoardOfDirectors(EditBoardOfDirectorsReq) returns (EditBoardOfDirectorsResp);
rpc DisplayBoardOfDirectors(DisplayBoardOfDirectorsReq) returns (DisplayBoardOfDirectorsResp);
//======================================================================== //========================================================================
rpc EditCommitteeAppointments(EditCommitteeAppointmentsReq) returns (EditCommitteeAppointmentsResp); rpc EditCommitteeAppointments(EditCommitteeAppointmentsReq) returns (EditCommitteeAppointmentsResp);
rpc DisplayCommitteeAppointments(DisplayCommitteeAppointmentsReq)returns(DisplayCommitteeAppointmentsResp);
} }
//======================================================================== //========================================================================
message AddMemberReq{ message AddMemberReq{
@ -114,22 +111,6 @@ message EditManagementResp{
string msg = 1; string msg = 1;
} }
message DisplayManagementReq{
}
message DisplayManagementResp{
repeated DisplayManagementItem item = 1;
}
message DisplayManagementItem{
string name = 1;
string image = 2;
string brief = 3;
string introduction = 4;
}
//======================================================================== //========================================================================
message BoardOfDirectors{ message BoardOfDirectors{
string name = 1; string name = 1;
@ -154,19 +135,6 @@ message EditBoardOfDirectorsResp{
string msg = 1; string msg = 1;
} }
message DisplayBoardOfDirectorsReq{
}
message DisplayBoardOfDirectorsResp{
repeated DisplayBoardOfDirectorItem item = 1;
}
message DisplayBoardOfDirectorItem {
string name = 1;
string brief = 2;
string introduction = 3;
}
//======================================================================== //========================================================================
message CommitteeAppointments{ message CommitteeAppointments{
string name = 1; string name = 1;
@ -192,18 +160,3 @@ message EditCommitteeAppointmentsReq{
message EditCommitteeAppointmentsResp{ message EditCommitteeAppointmentsResp{
string msg = 1; string msg = 1;
} }
message DisplayCommitteeAppointmentsReq{
}
message DisplayCommitteeAppointmentsResp{
repeated DisplayCommitteeAppointmentsItem item = 1;
}
message DisplayCommitteeAppointmentsItem{
string name = 1;
int32 auditCommittee = 2;
int32 compensationCommittee = 3;
int32 nominatingCommittee = 4;
}

View File

@ -81,22 +81,6 @@ func (this *EditManagementReq) Validate() error {
func (this *EditManagementResp) Validate() error { func (this *EditManagementResp) Validate() error {
return nil return nil
} }
func (this *DisplayManagementReq) Validate() error {
return nil
}
func (this *DisplayManagementResp) Validate() error {
for _, item := range this.Item {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Item", err)
}
}
}
return nil
}
func (this *DisplayManagementItem) Validate() error {
return nil
}
func (this *BoardOfDirectors) Validate() error { func (this *BoardOfDirectors) Validate() error {
return nil return nil
} }
@ -106,22 +90,6 @@ func (this *EditBoardOfDirectorsReq) Validate() error {
func (this *EditBoardOfDirectorsResp) Validate() error { func (this *EditBoardOfDirectorsResp) Validate() error {
return nil return nil
} }
func (this *DisplayBoardOfDirectorsReq) Validate() error {
return nil
}
func (this *DisplayBoardOfDirectorsResp) Validate() error {
for _, item := range this.Item {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Item", err)
}
}
}
return nil
}
func (this *DisplayBoardOfDirectorItem) Validate() error {
return nil
}
func (this *CommitteeAppointments) Validate() error { func (this *CommitteeAppointments) Validate() error {
return nil return nil
} }
@ -131,19 +99,3 @@ func (this *EditCommitteeAppointmentsReq) Validate() error {
func (this *EditCommitteeAppointmentsResp) Validate() error { func (this *EditCommitteeAppointmentsResp) Validate() error {
return nil return nil
} }
func (this *DisplayCommitteeAppointmentsReq) Validate() error {
return nil
}
func (this *DisplayCommitteeAppointmentsResp) Validate() error {
for _, item := range this.Item {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Item", err)
}
}
}
return nil
}
func (this *DisplayCommitteeAppointmentsItem) Validate() error {
return nil
}

View File

@ -35,13 +35,10 @@ type MembersClient interface {
GetMemberList(ctx context.Context, in *GetMemberListReq, opts ...grpc_go.CallOption) (*GetMemberListResp, common.ErrorWithAttachment) GetMemberList(ctx context.Context, in *GetMemberListReq, opts ...grpc_go.CallOption) (*GetMemberListResp, common.ErrorWithAttachment)
// ===================================成员信息管理======================================= // ===================================成员信息管理=======================================
EditManagement(ctx context.Context, in *EditManagementReq, opts ...grpc_go.CallOption) (*EditManagementResp, common.ErrorWithAttachment) EditManagement(ctx context.Context, in *EditManagementReq, opts ...grpc_go.CallOption) (*EditManagementResp, common.ErrorWithAttachment)
DisplayManagement(ctx context.Context, in *DisplayManagementReq, opts ...grpc_go.CallOption) (*DisplayManagementResp, common.ErrorWithAttachment)
// ===================================董事会信息管理======================================= // ===================================董事会信息管理=======================================
EditBoardOfDirectors(ctx context.Context, in *EditBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*EditBoardOfDirectorsResp, common.ErrorWithAttachment) EditBoardOfDirectors(ctx context.Context, in *EditBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*EditBoardOfDirectorsResp, common.ErrorWithAttachment)
DisplayBoardOfDirectors(ctx context.Context, in *DisplayBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*DisplayBoardOfDirectorsResp, common.ErrorWithAttachment)
// ==================================委员会任命管理====================================== // ==================================委员会任命管理======================================
EditCommitteeAppointments(ctx context.Context, in *EditCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*EditCommitteeAppointmentsResp, common.ErrorWithAttachment) EditCommitteeAppointments(ctx context.Context, in *EditCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*EditCommitteeAppointmentsResp, common.ErrorWithAttachment)
DisplayCommitteeAppointments(ctx context.Context, in *DisplayCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*DisplayCommitteeAppointmentsResp, common.ErrorWithAttachment)
} }
type membersClient struct { type membersClient struct {
@ -49,16 +46,13 @@ type membersClient struct {
} }
type MembersClientImpl struct { type MembersClientImpl struct {
AddMember func(ctx context.Context, in *AddMemberReq) (*AddMemberResp, error) AddMember func(ctx context.Context, in *AddMemberReq) (*AddMemberResp, error)
EditMember func(ctx context.Context, in *EditMemberReq) (*EditMemberResp, error) EditMember func(ctx context.Context, in *EditMemberReq) (*EditMemberResp, error)
DeleteMember func(ctx context.Context, in *DeleteMemberReq) (*DeleteMemberResp, error) DeleteMember func(ctx context.Context, in *DeleteMemberReq) (*DeleteMemberResp, error)
GetMemberList func(ctx context.Context, in *GetMemberListReq) (*GetMemberListResp, error) GetMemberList func(ctx context.Context, in *GetMemberListReq) (*GetMemberListResp, error)
EditManagement func(ctx context.Context, in *EditManagementReq) (*EditManagementResp, error) EditManagement func(ctx context.Context, in *EditManagementReq) (*EditManagementResp, error)
DisplayManagement func(ctx context.Context, in *DisplayManagementReq) (*DisplayManagementResp, error) EditBoardOfDirectors func(ctx context.Context, in *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error)
EditBoardOfDirectors func(ctx context.Context, in *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) EditCommitteeAppointments func(ctx context.Context, in *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error)
DisplayBoardOfDirectors func(ctx context.Context, in *DisplayBoardOfDirectorsReq) (*DisplayBoardOfDirectorsResp, error)
EditCommitteeAppointments func(ctx context.Context, in *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error)
DisplayCommitteeAppointments func(ctx context.Context, in *DisplayCommitteeAppointmentsReq) (*DisplayCommitteeAppointmentsResp, error)
} }
func (c *MembersClientImpl) GetDubboStub(cc *triple.TripleConn) MembersClient { func (c *MembersClientImpl) GetDubboStub(cc *triple.TripleConn) MembersClient {
@ -103,36 +97,18 @@ func (c *membersClient) EditManagement(ctx context.Context, in *EditManagementRe
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditManagement", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditManagement", in, out)
} }
func (c *membersClient) DisplayManagement(ctx context.Context, in *DisplayManagementReq, opts ...grpc_go.CallOption) (*DisplayManagementResp, common.ErrorWithAttachment) {
out := new(DisplayManagementResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayManagement", in, out)
}
func (c *membersClient) EditBoardOfDirectors(ctx context.Context, in *EditBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*EditBoardOfDirectorsResp, common.ErrorWithAttachment) { func (c *membersClient) EditBoardOfDirectors(ctx context.Context, in *EditBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*EditBoardOfDirectorsResp, common.ErrorWithAttachment) {
out := new(EditBoardOfDirectorsResp) out := new(EditBoardOfDirectorsResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string) interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditBoardOfDirectors", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditBoardOfDirectors", in, out)
} }
func (c *membersClient) DisplayBoardOfDirectors(ctx context.Context, in *DisplayBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*DisplayBoardOfDirectorsResp, common.ErrorWithAttachment) {
out := new(DisplayBoardOfDirectorsResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayBoardOfDirectors", in, out)
}
func (c *membersClient) EditCommitteeAppointments(ctx context.Context, in *EditCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*EditCommitteeAppointmentsResp, common.ErrorWithAttachment) { func (c *membersClient) EditCommitteeAppointments(ctx context.Context, in *EditCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*EditCommitteeAppointmentsResp, common.ErrorWithAttachment) {
out := new(EditCommitteeAppointmentsResp) out := new(EditCommitteeAppointmentsResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string) interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditCommitteeAppointments", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditCommitteeAppointments", in, out)
} }
func (c *membersClient) DisplayCommitteeAppointments(ctx context.Context, in *DisplayCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*DisplayCommitteeAppointmentsResp, common.ErrorWithAttachment) {
out := new(DisplayCommitteeAppointmentsResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayCommitteeAppointments", in, out)
}
// MembersServer is the server API for Members service. // MembersServer is the server API for Members service.
// All implementations must embed UnimplementedMembersServer // All implementations must embed UnimplementedMembersServer
// for forward compatibility // for forward compatibility
@ -144,13 +120,10 @@ type MembersServer interface {
GetMemberList(context.Context, *GetMemberListReq) (*GetMemberListResp, error) GetMemberList(context.Context, *GetMemberListReq) (*GetMemberListResp, error)
// ===================================成员信息管理======================================= // ===================================成员信息管理=======================================
EditManagement(context.Context, *EditManagementReq) (*EditManagementResp, error) EditManagement(context.Context, *EditManagementReq) (*EditManagementResp, error)
DisplayManagement(context.Context, *DisplayManagementReq) (*DisplayManagementResp, error)
// ===================================董事会信息管理======================================= // ===================================董事会信息管理=======================================
EditBoardOfDirectors(context.Context, *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) EditBoardOfDirectors(context.Context, *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error)
DisplayBoardOfDirectors(context.Context, *DisplayBoardOfDirectorsReq) (*DisplayBoardOfDirectorsResp, error)
// ==================================委员会任命管理====================================== // ==================================委员会任命管理======================================
EditCommitteeAppointments(context.Context, *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) EditCommitteeAppointments(context.Context, *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error)
DisplayCommitteeAppointments(context.Context, *DisplayCommitteeAppointmentsReq) (*DisplayCommitteeAppointmentsResp, error)
mustEmbedUnimplementedMembersServer() mustEmbedUnimplementedMembersServer()
} }
@ -174,21 +147,12 @@ func (UnimplementedMembersServer) GetMemberList(context.Context, *GetMemberListR
func (UnimplementedMembersServer) EditManagement(context.Context, *EditManagementReq) (*EditManagementResp, error) { func (UnimplementedMembersServer) EditManagement(context.Context, *EditManagementReq) (*EditManagementResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method EditManagement not implemented") return nil, status.Errorf(codes.Unimplemented, "method EditManagement not implemented")
} }
func (UnimplementedMembersServer) DisplayManagement(context.Context, *DisplayManagementReq) (*DisplayManagementResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisplayManagement not implemented")
}
func (UnimplementedMembersServer) EditBoardOfDirectors(context.Context, *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) { func (UnimplementedMembersServer) EditBoardOfDirectors(context.Context, *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method EditBoardOfDirectors not implemented") return nil, status.Errorf(codes.Unimplemented, "method EditBoardOfDirectors not implemented")
} }
func (UnimplementedMembersServer) DisplayBoardOfDirectors(context.Context, *DisplayBoardOfDirectorsReq) (*DisplayBoardOfDirectorsResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisplayBoardOfDirectors not implemented")
}
func (UnimplementedMembersServer) EditCommitteeAppointments(context.Context, *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) { func (UnimplementedMembersServer) EditCommitteeAppointments(context.Context, *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method EditCommitteeAppointments not implemented") return nil, status.Errorf(codes.Unimplemented, "method EditCommitteeAppointments not implemented")
} }
func (UnimplementedMembersServer) DisplayCommitteeAppointments(context.Context, *DisplayCommitteeAppointmentsReq) (*DisplayCommitteeAppointmentsResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisplayCommitteeAppointments not implemented")
}
func (s *UnimplementedMembersServer) XXX_SetProxyImpl(impl protocol.Invoker) { func (s *UnimplementedMembersServer) XXX_SetProxyImpl(impl protocol.Invoker) {
s.proxyImpl = impl s.proxyImpl = impl
} }
@ -362,35 +326,6 @@ func _Members_EditManagement_Handler(srv interface{}, ctx context.Context, dec f
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Members_DisplayManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(DisplayManagementReq)
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("DisplayManagement", 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 _Members_EditBoardOfDirectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { func _Members_EditBoardOfDirectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(EditBoardOfDirectorsReq) in := new(EditBoardOfDirectorsReq)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@ -420,35 +355,6 @@ func _Members_EditBoardOfDirectors_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Members_DisplayBoardOfDirectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(DisplayBoardOfDirectorsReq)
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("DisplayBoardOfDirectors", 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 _Members_EditCommitteeAppointments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { func _Members_EditCommitteeAppointments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(EditCommitteeAppointmentsReq) in := new(EditCommitteeAppointmentsReq)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@ -478,35 +384,6 @@ func _Members_EditCommitteeAppointments_Handler(srv interface{}, ctx context.Con
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Members_DisplayCommitteeAppointments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(DisplayCommitteeAppointmentsReq)
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("DisplayCommitteeAppointments", 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)
}
// Members_ServiceDesc is the grpc_go.ServiceDesc for Members service. // Members_ServiceDesc is the grpc_go.ServiceDesc for Members service.
// It's only intended for direct use with grpc_go.RegisterService, // It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy) // and not to be introspected or modified (even as a copy)
@ -534,26 +411,14 @@ var Members_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "EditManagement", MethodName: "EditManagement",
Handler: _Members_EditManagement_Handler, Handler: _Members_EditManagement_Handler,
}, },
{
MethodName: "DisplayManagement",
Handler: _Members_DisplayManagement_Handler,
},
{ {
MethodName: "EditBoardOfDirectors", MethodName: "EditBoardOfDirectors",
Handler: _Members_EditBoardOfDirectors_Handler, Handler: _Members_EditBoardOfDirectors_Handler,
}, },
{
MethodName: "DisplayBoardOfDirectors",
Handler: _Members_DisplayBoardOfDirectors_Handler,
},
{ {
MethodName: "EditCommitteeAppointments", MethodName: "EditCommitteeAppointments",
Handler: _Members_EditCommitteeAppointments_Handler, Handler: _Members_EditCommitteeAppointments_Handler,
}, },
{
MethodName: "DisplayCommitteeAppointments",
Handler: _Members_DisplayCommitteeAppointments_Handler,
},
}, },
Streams: []grpc_go.StreamDesc{}, Streams: []grpc_go.StreamDesc{},
Metadata: "api/members/members.proto", Metadata: "api/members/members.proto",

View File

@ -699,154 +699,6 @@ func (x *DeleteAnnualReportResp) GetMsg() string {
return "" return ""
} }
type DisplayAnnualReportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DisplayAnnualReportReq) Reset() {
*x = DisplayAnnualReportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisplayAnnualReportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisplayAnnualReportReq) ProtoMessage() {}
func (x *DisplayAnnualReportReq) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DisplayAnnualReportReq.ProtoReflect.Descriptor instead.
func (*DisplayAnnualReportReq) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{10}
}
type DisplayAnnualReportResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Item []*DisplayAnnualReportItem `protobuf:"bytes,1,rep,name=Item,proto3" json:"Item"`
}
func (x *DisplayAnnualReportResp) Reset() {
*x = DisplayAnnualReportResp{}
if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisplayAnnualReportResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisplayAnnualReportResp) ProtoMessage() {}
func (x *DisplayAnnualReportResp) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DisplayAnnualReportResp.ProtoReflect.Descriptor instead.
func (*DisplayAnnualReportResp) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{11}
}
func (x *DisplayAnnualReportResp) GetItem() []*DisplayAnnualReportItem {
if x != nil {
return x.Item
}
return nil
}
type DisplayAnnualReportItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName"`
Date int64 `protobuf:"varint,2,opt,name=date,proto3" json:"date"`
FileUrl string `protobuf:"bytes,3,opt,name=fileUrl,proto3" json:"fileUrl"`
}
func (x *DisplayAnnualReportItem) Reset() {
*x = DisplayAnnualReportItem{}
if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisplayAnnualReportItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisplayAnnualReportItem) ProtoMessage() {}
func (x *DisplayAnnualReportItem) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DisplayAnnualReportItem.ProtoReflect.Descriptor instead.
func (*DisplayAnnualReportItem) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{12}
}
func (x *DisplayAnnualReportItem) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *DisplayAnnualReportItem) GetDate() int64 {
if x != nil {
return x.Date
}
return 0
}
func (x *DisplayAnnualReportItem) GetFileUrl() string {
if x != nil {
return x.FileUrl
}
return ""
}
// ==================================季度报告====================================== // ==================================季度报告======================================
type GetQuarterlyReportListReq struct { type GetQuarterlyReportListReq struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -861,7 +713,7 @@ type GetQuarterlyReportListReq struct {
func (x *GetQuarterlyReportListReq) Reset() { func (x *GetQuarterlyReportListReq) Reset() {
*x = GetQuarterlyReportListReq{} *x = GetQuarterlyReportListReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[13] mi := &file_api_reports_reports_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -874,7 +726,7 @@ func (x *GetQuarterlyReportListReq) String() string {
func (*GetQuarterlyReportListReq) ProtoMessage() {} func (*GetQuarterlyReportListReq) ProtoMessage() {}
func (x *GetQuarterlyReportListReq) ProtoReflect() protoreflect.Message { func (x *GetQuarterlyReportListReq) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[13] mi := &file_api_reports_reports_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -887,7 +739,7 @@ func (x *GetQuarterlyReportListReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetQuarterlyReportListReq.ProtoReflect.Descriptor instead. // Deprecated: Use GetQuarterlyReportListReq.ProtoReflect.Descriptor instead.
func (*GetQuarterlyReportListReq) Descriptor() ([]byte, []int) { func (*GetQuarterlyReportListReq) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{13} return file_api_reports_reports_proto_rawDescGZIP(), []int{10}
} }
func (x *GetQuarterlyReportListReq) GetPage() int32 { func (x *GetQuarterlyReportListReq) GetPage() int32 {
@ -926,7 +778,7 @@ type GetQuarterlyReportListResp struct {
func (x *GetQuarterlyReportListResp) Reset() { func (x *GetQuarterlyReportListResp) Reset() {
*x = GetQuarterlyReportListResp{} *x = GetQuarterlyReportListResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[14] mi := &file_api_reports_reports_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -939,7 +791,7 @@ func (x *GetQuarterlyReportListResp) String() string {
func (*GetQuarterlyReportListResp) ProtoMessage() {} func (*GetQuarterlyReportListResp) ProtoMessage() {}
func (x *GetQuarterlyReportListResp) ProtoReflect() protoreflect.Message { func (x *GetQuarterlyReportListResp) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[14] mi := &file_api_reports_reports_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -952,7 +804,7 @@ func (x *GetQuarterlyReportListResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetQuarterlyReportListResp.ProtoReflect.Descriptor instead. // Deprecated: Use GetQuarterlyReportListResp.ProtoReflect.Descriptor instead.
func (*GetQuarterlyReportListResp) Descriptor() ([]byte, []int) { func (*GetQuarterlyReportListResp) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{14} return file_api_reports_reports_proto_rawDescGZIP(), []int{11}
} }
func (x *GetQuarterlyReportListResp) GetMsg() string { func (x *GetQuarterlyReportListResp) GetMsg() string {
@ -1010,7 +862,7 @@ type QuarterlyReport struct {
func (x *QuarterlyReport) Reset() { func (x *QuarterlyReport) Reset() {
*x = QuarterlyReport{} *x = QuarterlyReport{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[15] mi := &file_api_reports_reports_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1023,7 +875,7 @@ func (x *QuarterlyReport) String() string {
func (*QuarterlyReport) ProtoMessage() {} func (*QuarterlyReport) ProtoMessage() {}
func (x *QuarterlyReport) ProtoReflect() protoreflect.Message { func (x *QuarterlyReport) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[15] mi := &file_api_reports_reports_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1036,7 +888,7 @@ func (x *QuarterlyReport) ProtoReflect() protoreflect.Message {
// Deprecated: Use QuarterlyReport.ProtoReflect.Descriptor instead. // Deprecated: Use QuarterlyReport.ProtoReflect.Descriptor instead.
func (*QuarterlyReport) Descriptor() ([]byte, []int) { func (*QuarterlyReport) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{15} return file_api_reports_reports_proto_rawDescGZIP(), []int{12}
} }
func (x *QuarterlyReport) GetId() int32 { func (x *QuarterlyReport) GetId() int32 {
@ -1125,7 +977,7 @@ type AddQuarterlyReportReq struct {
func (x *AddQuarterlyReportReq) Reset() { func (x *AddQuarterlyReportReq) Reset() {
*x = AddQuarterlyReportReq{} *x = AddQuarterlyReportReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[16] mi := &file_api_reports_reports_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1138,7 +990,7 @@ func (x *AddQuarterlyReportReq) String() string {
func (*AddQuarterlyReportReq) ProtoMessage() {} func (*AddQuarterlyReportReq) ProtoMessage() {}
func (x *AddQuarterlyReportReq) ProtoReflect() protoreflect.Message { func (x *AddQuarterlyReportReq) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[16] mi := &file_api_reports_reports_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1151,7 +1003,7 @@ func (x *AddQuarterlyReportReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use AddQuarterlyReportReq.ProtoReflect.Descriptor instead. // Deprecated: Use AddQuarterlyReportReq.ProtoReflect.Descriptor instead.
func (*AddQuarterlyReportReq) Descriptor() ([]byte, []int) { func (*AddQuarterlyReportReq) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{16} return file_api_reports_reports_proto_rawDescGZIP(), []int{13}
} }
func (x *AddQuarterlyReportReq) GetFileName() string { func (x *AddQuarterlyReportReq) GetFileName() string {
@ -1207,7 +1059,7 @@ type AddQuarterlyReportResp struct {
func (x *AddQuarterlyReportResp) Reset() { func (x *AddQuarterlyReportResp) Reset() {
*x = AddQuarterlyReportResp{} *x = AddQuarterlyReportResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[17] mi := &file_api_reports_reports_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1220,7 +1072,7 @@ func (x *AddQuarterlyReportResp) String() string {
func (*AddQuarterlyReportResp) ProtoMessage() {} func (*AddQuarterlyReportResp) ProtoMessage() {}
func (x *AddQuarterlyReportResp) ProtoReflect() protoreflect.Message { func (x *AddQuarterlyReportResp) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[17] mi := &file_api_reports_reports_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1233,7 +1085,7 @@ func (x *AddQuarterlyReportResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use AddQuarterlyReportResp.ProtoReflect.Descriptor instead. // Deprecated: Use AddQuarterlyReportResp.ProtoReflect.Descriptor instead.
func (*AddQuarterlyReportResp) Descriptor() ([]byte, []int) { func (*AddQuarterlyReportResp) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{17} return file_api_reports_reports_proto_rawDescGZIP(), []int{14}
} }
func (x *AddQuarterlyReportResp) GetMsg() string { func (x *AddQuarterlyReportResp) GetMsg() string {
@ -1262,7 +1114,7 @@ type EditQuarterlyReportReq struct {
func (x *EditQuarterlyReportReq) Reset() { func (x *EditQuarterlyReportReq) Reset() {
*x = EditQuarterlyReportReq{} *x = EditQuarterlyReportReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[18] mi := &file_api_reports_reports_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1275,7 +1127,7 @@ func (x *EditQuarterlyReportReq) String() string {
func (*EditQuarterlyReportReq) ProtoMessage() {} func (*EditQuarterlyReportReq) ProtoMessage() {}
func (x *EditQuarterlyReportReq) ProtoReflect() protoreflect.Message { func (x *EditQuarterlyReportReq) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[18] mi := &file_api_reports_reports_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1288,7 +1140,7 @@ func (x *EditQuarterlyReportReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use EditQuarterlyReportReq.ProtoReflect.Descriptor instead. // Deprecated: Use EditQuarterlyReportReq.ProtoReflect.Descriptor instead.
func (*EditQuarterlyReportReq) Descriptor() ([]byte, []int) { func (*EditQuarterlyReportReq) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{18} return file_api_reports_reports_proto_rawDescGZIP(), []int{15}
} }
func (x *EditQuarterlyReportReq) GetId() int32 { func (x *EditQuarterlyReportReq) GetId() int32 {
@ -1365,7 +1217,7 @@ type EditQuarterlyReportResp struct {
func (x *EditQuarterlyReportResp) Reset() { func (x *EditQuarterlyReportResp) Reset() {
*x = EditQuarterlyReportResp{} *x = EditQuarterlyReportResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[19] mi := &file_api_reports_reports_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1378,7 +1230,7 @@ func (x *EditQuarterlyReportResp) String() string {
func (*EditQuarterlyReportResp) ProtoMessage() {} func (*EditQuarterlyReportResp) ProtoMessage() {}
func (x *EditQuarterlyReportResp) ProtoReflect() protoreflect.Message { func (x *EditQuarterlyReportResp) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[19] mi := &file_api_reports_reports_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1391,7 +1243,7 @@ func (x *EditQuarterlyReportResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use EditQuarterlyReportResp.ProtoReflect.Descriptor instead. // Deprecated: Use EditQuarterlyReportResp.ProtoReflect.Descriptor instead.
func (*EditQuarterlyReportResp) Descriptor() ([]byte, []int) { func (*EditQuarterlyReportResp) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{19} return file_api_reports_reports_proto_rawDescGZIP(), []int{16}
} }
func (x *EditQuarterlyReportResp) GetMsg() string { func (x *EditQuarterlyReportResp) GetMsg() string {
@ -1412,7 +1264,7 @@ type DeleteQuarterlyReportReq struct {
func (x *DeleteQuarterlyReportReq) Reset() { func (x *DeleteQuarterlyReportReq) Reset() {
*x = DeleteQuarterlyReportReq{} *x = DeleteQuarterlyReportReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[20] mi := &file_api_reports_reports_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1425,7 +1277,7 @@ func (x *DeleteQuarterlyReportReq) String() string {
func (*DeleteQuarterlyReportReq) ProtoMessage() {} func (*DeleteQuarterlyReportReq) ProtoMessage() {}
func (x *DeleteQuarterlyReportReq) ProtoReflect() protoreflect.Message { func (x *DeleteQuarterlyReportReq) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[20] mi := &file_api_reports_reports_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1438,7 +1290,7 @@ func (x *DeleteQuarterlyReportReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteQuarterlyReportReq.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteQuarterlyReportReq.ProtoReflect.Descriptor instead.
func (*DeleteQuarterlyReportReq) Descriptor() ([]byte, []int) { func (*DeleteQuarterlyReportReq) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{20} return file_api_reports_reports_proto_rawDescGZIP(), []int{17}
} }
func (x *DeleteQuarterlyReportReq) GetId() int32 { func (x *DeleteQuarterlyReportReq) GetId() int32 {
@ -1459,7 +1311,7 @@ type DeleteQuarterlyReportResp struct {
func (x *DeleteQuarterlyReportResp) Reset() { func (x *DeleteQuarterlyReportResp) Reset() {
*x = DeleteQuarterlyReportResp{} *x = DeleteQuarterlyReportResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[21] mi := &file_api_reports_reports_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1472,7 +1324,7 @@ func (x *DeleteQuarterlyReportResp) String() string {
func (*DeleteQuarterlyReportResp) ProtoMessage() {} func (*DeleteQuarterlyReportResp) ProtoMessage() {}
func (x *DeleteQuarterlyReportResp) ProtoReflect() protoreflect.Message { func (x *DeleteQuarterlyReportResp) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[21] mi := &file_api_reports_reports_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1485,7 +1337,7 @@ func (x *DeleteQuarterlyReportResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteQuarterlyReportResp.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteQuarterlyReportResp.ProtoReflect.Descriptor instead.
func (*DeleteQuarterlyReportResp) Descriptor() ([]byte, []int) { func (*DeleteQuarterlyReportResp) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{21} return file_api_reports_reports_proto_rawDescGZIP(), []int{18}
} }
func (x *DeleteQuarterlyReportResp) GetMsg() string { func (x *DeleteQuarterlyReportResp) GetMsg() string {
@ -1495,162 +1347,6 @@ func (x *DeleteQuarterlyReportResp) GetMsg() string {
return "" return ""
} }
type DisplayQuarterlyReportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DisplayQuarterlyReportReq) Reset() {
*x = DisplayQuarterlyReportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisplayQuarterlyReportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisplayQuarterlyReportReq) ProtoMessage() {}
func (x *DisplayQuarterlyReportReq) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DisplayQuarterlyReportReq.ProtoReflect.Descriptor instead.
func (*DisplayQuarterlyReportReq) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{22}
}
type DisplayQuarterlyReportResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Item []*DisplayQuarterlyReportItem `protobuf:"bytes,1,rep,name=Item,proto3" json:"Item"`
}
func (x *DisplayQuarterlyReportResp) Reset() {
*x = DisplayQuarterlyReportResp{}
if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisplayQuarterlyReportResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisplayQuarterlyReportResp) ProtoMessage() {}
func (x *DisplayQuarterlyReportResp) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DisplayQuarterlyReportResp.ProtoReflect.Descriptor instead.
func (*DisplayQuarterlyReportResp) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{23}
}
func (x *DisplayQuarterlyReportResp) GetItem() []*DisplayQuarterlyReportItem {
if x != nil {
return x.Item
}
return nil
}
type DisplayQuarterlyReportItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName"`
FileIntroduce string `protobuf:"bytes,2,opt,name=fileIntroduce,proto3" json:"fileIntroduce"`
Attachment string `protobuf:"bytes,3,opt,name=attachment,proto3" json:"attachment"`
AttachmentName string `protobuf:"bytes,4,opt,name=attachmentName,proto3" json:"attachmentName"`
}
func (x *DisplayQuarterlyReportItem) Reset() {
*x = DisplayQuarterlyReportItem{}
if protoimpl.UnsafeEnabled {
mi := &file_api_reports_reports_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisplayQuarterlyReportItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisplayQuarterlyReportItem) ProtoMessage() {}
func (x *DisplayQuarterlyReportItem) ProtoReflect() protoreflect.Message {
mi := &file_api_reports_reports_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DisplayQuarterlyReportItem.ProtoReflect.Descriptor instead.
func (*DisplayQuarterlyReportItem) Descriptor() ([]byte, []int) {
return file_api_reports_reports_proto_rawDescGZIP(), []int{24}
}
func (x *DisplayQuarterlyReportItem) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *DisplayQuarterlyReportItem) GetFileIntroduce() string {
if x != nil {
return x.FileIntroduce
}
return ""
}
func (x *DisplayQuarterlyReportItem) GetAttachment() string {
if x != nil {
return x.Attachment
}
return ""
}
func (x *DisplayQuarterlyReportItem) GetAttachmentName() string {
if x != nil {
return x.AttachmentName
}
return ""
}
var File_api_reports_reports_proto protoreflect.FileDescriptor var File_api_reports_reports_proto protoreflect.FileDescriptor
var file_api_reports_reports_proto_rawDesc = []byte{ var file_api_reports_reports_proto_rawDesc = []byte{
@ -1726,20 +1422,7 @@ var file_api_reports_reports_proto_rawDesc = []byte{
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
0x22, 0x2a, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x22, 0x2a, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c,
0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x18, 0x0a, 0x16, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x7a, 0x0a, 0x19,
0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70,
0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x22, 0x4f, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61,
0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73,
0x70, 0x12, 0x34, 0x0a, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61,
0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74, 0x65,
0x6d, 0x52, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x63, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x70, 0x6c,
0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74,
0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61,
0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x7a, 0x0a, 0x19,
0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f,
0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a,
@ -1820,83 +1503,53 @@ var file_api_reports_reports_proto_rawDesc = []byte{
0x02, 0x69, 0x64, 0x22, 0x2d, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x02, 0x69, 0x64, 0x22, 0x2d, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61,
0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70,
0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d,
0x73, 0x67, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x73, 0x67, 0x32, 0xcd, 0x05, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x58,
0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x22, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72,
0x55, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e,
0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x37, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c,
0x04, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x72, 0x65, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73,
0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41,
0x52, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x22, 0xa6, 0x01, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x2e, 0x72, 0x65,
0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52,
0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6e,
0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63,
0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x74, 0x74,
0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63,
0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32,
0x8a, 0x07, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x13, 0x47,
0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69,
0x73, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74,
0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74,
0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65,
0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73,
0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75,
0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72,
0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f,
0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e,
0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x70,
0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52,
0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72,
0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70,
0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74,
0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e,
0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e,
0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x65, 0x70, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e,
0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e,
0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61,
0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65,
0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x13, 0x44, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72,
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52,
0x72, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72,
0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65,
0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c,
0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65,
0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65,
0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x13, 0x45, 0x64, 0x69, 0x74,
0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x51, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75,
0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71,
0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51,
0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72,
0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x21, 0x2e, 0x72, 0x65,
0x58, 0x0a, 0x13, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72,
0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22,
0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51,
0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x73, 0x70, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f,
0x72, 0x74, 0x12, 0x21, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f,
0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x16, 0x44, 0x69, 0x73,
0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70,
0x6f, 0x72, 0x74, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69,
0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65,
0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72,
0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0c, 0x5a, 0x0a,
0x2e, 0x2f, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
} }
var ( var (
@ -1911,7 +1564,7 @@ func file_api_reports_reports_proto_rawDescGZIP() []byte {
return file_api_reports_reports_proto_rawDescData return file_api_reports_reports_proto_rawDescData
} }
var file_api_reports_reports_proto_msgTypes = make([]protoimpl.MessageInfo, 25) var file_api_reports_reports_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_api_reports_reports_proto_goTypes = []interface{}{ var file_api_reports_reports_proto_goTypes = []interface{}{
(*Filtrate)(nil), // 0: reports.Filtrate (*Filtrate)(nil), // 0: reports.Filtrate
(*GetAnnualReportListReq)(nil), // 1: reports.GetAnnualReportListReq (*GetAnnualReportListReq)(nil), // 1: reports.GetAnnualReportListReq
@ -1923,54 +1576,42 @@ var file_api_reports_reports_proto_goTypes = []interface{}{
(*EditAnnualReportResp)(nil), // 7: reports.EditAnnualReportResp (*EditAnnualReportResp)(nil), // 7: reports.EditAnnualReportResp
(*DeleteAnnualReportReq)(nil), // 8: reports.DeleteAnnualReportReq (*DeleteAnnualReportReq)(nil), // 8: reports.DeleteAnnualReportReq
(*DeleteAnnualReportResp)(nil), // 9: reports.DeleteAnnualReportResp (*DeleteAnnualReportResp)(nil), // 9: reports.DeleteAnnualReportResp
(*DisplayAnnualReportReq)(nil), // 10: reports.DisplayAnnualReportReq (*GetQuarterlyReportListReq)(nil), // 10: reports.GetQuarterlyReportListReq
(*DisplayAnnualReportResp)(nil), // 11: reports.DisplayAnnualReportResp (*GetQuarterlyReportListResp)(nil), // 11: reports.GetQuarterlyReportListResp
(*DisplayAnnualReportItem)(nil), // 12: reports.DisplayAnnualReportItem (*QuarterlyReport)(nil), // 12: reports.QuarterlyReport
(*GetQuarterlyReportListReq)(nil), // 13: reports.GetQuarterlyReportListReq (*AddQuarterlyReportReq)(nil), // 13: reports.AddQuarterlyReportReq
(*GetQuarterlyReportListResp)(nil), // 14: reports.GetQuarterlyReportListResp (*AddQuarterlyReportResp)(nil), // 14: reports.AddQuarterlyReportResp
(*QuarterlyReport)(nil), // 15: reports.QuarterlyReport (*EditQuarterlyReportReq)(nil), // 15: reports.EditQuarterlyReportReq
(*AddQuarterlyReportReq)(nil), // 16: reports.AddQuarterlyReportReq (*EditQuarterlyReportResp)(nil), // 16: reports.EditQuarterlyReportResp
(*AddQuarterlyReportResp)(nil), // 17: reports.AddQuarterlyReportResp (*DeleteQuarterlyReportReq)(nil), // 17: reports.DeleteQuarterlyReportReq
(*EditQuarterlyReportReq)(nil), // 18: reports.EditQuarterlyReportReq (*DeleteQuarterlyReportResp)(nil), // 18: reports.DeleteQuarterlyReportResp
(*EditQuarterlyReportResp)(nil), // 19: reports.EditQuarterlyReportResp
(*DeleteQuarterlyReportReq)(nil), // 20: reports.DeleteQuarterlyReportReq
(*DeleteQuarterlyReportResp)(nil), // 21: reports.DeleteQuarterlyReportResp
(*DisplayQuarterlyReportReq)(nil), // 22: reports.DisplayQuarterlyReportReq
(*DisplayQuarterlyReportResp)(nil), // 23: reports.DisplayQuarterlyReportResp
(*DisplayQuarterlyReportItem)(nil), // 24: reports.DisplayQuarterlyReportItem
} }
var file_api_reports_reports_proto_depIdxs = []int32{ var file_api_reports_reports_proto_depIdxs = []int32{
0, // 0: reports.GetAnnualReportListReq.filtrate:type_name -> reports.Filtrate 0, // 0: reports.GetAnnualReportListReq.filtrate:type_name -> reports.Filtrate
3, // 1: reports.GetAnnualReportListResp.data:type_name -> reports.AnnualReport 3, // 1: reports.GetAnnualReportListResp.data:type_name -> reports.AnnualReport
12, // 2: reports.DisplayAnnualReportResp.Item:type_name -> reports.DisplayAnnualReportItem 0, // 2: reports.GetQuarterlyReportListReq.filtrate:type_name -> reports.Filtrate
0, // 3: reports.GetQuarterlyReportListReq.filtrate:type_name -> reports.Filtrate 12, // 3: reports.GetQuarterlyReportListResp.data:type_name -> reports.QuarterlyReport
15, // 4: reports.GetQuarterlyReportListResp.data:type_name -> reports.QuarterlyReport 1, // 4: reports.Reports.GetAnnualReportList:input_type -> reports.GetAnnualReportListReq
24, // 5: reports.DisplayQuarterlyReportResp.Item:type_name -> reports.DisplayQuarterlyReportItem 4, // 5: reports.Reports.AddAnnualReport:input_type -> reports.AddAnnualReportReq
1, // 6: reports.Reports.GetAnnualReportList:input_type -> reports.GetAnnualReportListReq 6, // 6: reports.Reports.EditAnnualReport:input_type -> reports.EditAnnualReportReq
4, // 7: reports.Reports.AddAnnualReport:input_type -> reports.AddAnnualReportReq 8, // 7: reports.Reports.DeleteAnnualReport:input_type -> reports.DeleteAnnualReportReq
6, // 8: reports.Reports.EditAnnualReport:input_type -> reports.EditAnnualReportReq 10, // 8: reports.Reports.GetQuarterlyReportList:input_type -> reports.GetQuarterlyReportListReq
8, // 9: reports.Reports.DeleteAnnualReport:input_type -> reports.DeleteAnnualReportReq 13, // 9: reports.Reports.AddQuarterlyReport:input_type -> reports.AddQuarterlyReportReq
10, // 10: reports.Reports.DisplayAnnualReport:input_type -> reports.DisplayAnnualReportReq 15, // 10: reports.Reports.EditQuarterlyReport:input_type -> reports.EditQuarterlyReportReq
13, // 11: reports.Reports.GetQuarterlyReportList:input_type -> reports.GetQuarterlyReportListReq 17, // 11: reports.Reports.DeleteQuarterlyReport:input_type -> reports.DeleteQuarterlyReportReq
16, // 12: reports.Reports.AddQuarterlyReport:input_type -> reports.AddQuarterlyReportReq 2, // 12: reports.Reports.GetAnnualReportList:output_type -> reports.GetAnnualReportListResp
18, // 13: reports.Reports.EditQuarterlyReport:input_type -> reports.EditQuarterlyReportReq 5, // 13: reports.Reports.AddAnnualReport:output_type -> reports.AddAnnualReportResp
20, // 14: reports.Reports.DeleteQuarterlyReport:input_type -> reports.DeleteQuarterlyReportReq 7, // 14: reports.Reports.EditAnnualReport:output_type -> reports.EditAnnualReportResp
22, // 15: reports.Reports.DisplayQuarterlyReport:input_type -> reports.DisplayQuarterlyReportReq 9, // 15: reports.Reports.DeleteAnnualReport:output_type -> reports.DeleteAnnualReportResp
2, // 16: reports.Reports.GetAnnualReportList:output_type -> reports.GetAnnualReportListResp 11, // 16: reports.Reports.GetQuarterlyReportList:output_type -> reports.GetQuarterlyReportListResp
5, // 17: reports.Reports.AddAnnualReport:output_type -> reports.AddAnnualReportResp 14, // 17: reports.Reports.AddQuarterlyReport:output_type -> reports.AddQuarterlyReportResp
7, // 18: reports.Reports.EditAnnualReport:output_type -> reports.EditAnnualReportResp 16, // 18: reports.Reports.EditQuarterlyReport:output_type -> reports.EditQuarterlyReportResp
9, // 19: reports.Reports.DeleteAnnualReport:output_type -> reports.DeleteAnnualReportResp 18, // 19: reports.Reports.DeleteQuarterlyReport:output_type -> reports.DeleteQuarterlyReportResp
11, // 20: reports.Reports.DisplayAnnualReport:output_type -> reports.DisplayAnnualReportResp 12, // [12:20] is the sub-list for method output_type
14, // 21: reports.Reports.GetQuarterlyReportList:output_type -> reports.GetQuarterlyReportListResp 4, // [4:12] is the sub-list for method input_type
17, // 22: reports.Reports.AddQuarterlyReport:output_type -> reports.AddQuarterlyReportResp 4, // [4:4] is the sub-list for extension type_name
19, // 23: reports.Reports.EditQuarterlyReport:output_type -> reports.EditQuarterlyReportResp 4, // [4:4] is the sub-list for extension extendee
21, // 24: reports.Reports.DeleteQuarterlyReport:output_type -> reports.DeleteQuarterlyReportResp 0, // [0:4] is the sub-list for field type_name
23, // 25: reports.Reports.DisplayQuarterlyReport:output_type -> reports.DisplayQuarterlyReportResp
16, // [16:26] is the sub-list for method output_type
6, // [6:16] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
} }
func init() { file_api_reports_reports_proto_init() } func init() { file_api_reports_reports_proto_init() }
@ -2100,42 +1741,6 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisplayAnnualReportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_reports_reports_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisplayAnnualReportResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_reports_reports_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisplayAnnualReportItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_reports_reports_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetQuarterlyReportListReq); i { switch v := v.(*GetQuarterlyReportListReq); i {
case 0: case 0:
return &v.state return &v.state
@ -2147,7 +1752,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetQuarterlyReportListResp); i { switch v := v.(*GetQuarterlyReportListResp); i {
case 0: case 0:
return &v.state return &v.state
@ -2159,7 +1764,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QuarterlyReport); i { switch v := v.(*QuarterlyReport); i {
case 0: case 0:
return &v.state return &v.state
@ -2171,7 +1776,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddQuarterlyReportReq); i { switch v := v.(*AddQuarterlyReportReq); i {
case 0: case 0:
return &v.state return &v.state
@ -2183,7 +1788,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddQuarterlyReportResp); i { switch v := v.(*AddQuarterlyReportResp); i {
case 0: case 0:
return &v.state return &v.state
@ -2195,7 +1800,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EditQuarterlyReportReq); i { switch v := v.(*EditQuarterlyReportReq); i {
case 0: case 0:
return &v.state return &v.state
@ -2207,7 +1812,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EditQuarterlyReportResp); i { switch v := v.(*EditQuarterlyReportResp); i {
case 0: case 0:
return &v.state return &v.state
@ -2219,7 +1824,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteQuarterlyReportReq); i { switch v := v.(*DeleteQuarterlyReportReq); i {
case 0: case 0:
return &v.state return &v.state
@ -2231,7 +1836,7 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteQuarterlyReportResp); i { switch v := v.(*DeleteQuarterlyReportResp); i {
case 0: case 0:
return &v.state return &v.state
@ -2243,42 +1848,6 @@ func file_api_reports_reports_proto_init() {
return nil return nil
} }
} }
file_api_reports_reports_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisplayQuarterlyReportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_reports_reports_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisplayQuarterlyReportResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_reports_reports_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisplayQuarterlyReportItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@ -2286,7 +1855,7 @@ func file_api_reports_reports_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_reports_reports_proto_rawDesc, RawDescriptor: file_api_reports_reports_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 25, NumMessages: 19,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },

View File

@ -11,13 +11,11 @@ service Reports{
rpc AddAnnualReport(AddAnnualReportReq) returns (AddAnnualReportResp); rpc AddAnnualReport(AddAnnualReportReq) returns (AddAnnualReportResp);
rpc EditAnnualReport(EditAnnualReportReq) returns (EditAnnualReportResp); rpc EditAnnualReport(EditAnnualReportReq) returns (EditAnnualReportResp);
rpc DeleteAnnualReport(DeleteAnnualReportReq) returns (DeleteAnnualReportResp); rpc DeleteAnnualReport(DeleteAnnualReportReq) returns (DeleteAnnualReportResp);
rpc DisplayAnnualReport(DisplayAnnualReportReq) returns (DisplayAnnualReportResp);
//======================================================================== //========================================================================
rpc GetQuarterlyReportList(GetQuarterlyReportListReq) returns (GetQuarterlyReportListResp); rpc GetQuarterlyReportList(GetQuarterlyReportListReq) returns (GetQuarterlyReportListResp);
rpc AddQuarterlyReport(AddQuarterlyReportReq) returns (AddQuarterlyReportResp); rpc AddQuarterlyReport(AddQuarterlyReportReq) returns (AddQuarterlyReportResp);
rpc EditQuarterlyReport(EditQuarterlyReportReq) returns (EditQuarterlyReportResp); rpc EditQuarterlyReport(EditQuarterlyReportReq) returns (EditQuarterlyReportResp);
rpc DeleteQuarterlyReport(DeleteQuarterlyReportReq) returns (DeleteQuarterlyReportResp); rpc DeleteQuarterlyReport(DeleteQuarterlyReportReq) returns (DeleteQuarterlyReportResp);
rpc DisplayQuarterlyReport(DisplayQuarterlyReportReq) returns (DisplayQuarterlyReportResp);
} }
message Filtrate{ message Filtrate{
@ -86,20 +84,6 @@ message DeleteAnnualReportResp{
string msg = 1; string msg = 1;
} }
message DisplayAnnualReportReq{
}
message DisplayAnnualReportResp{
repeated DisplayAnnualReportItem Item = 1;
}
message DisplayAnnualReportItem{
string fileName = 1;
int64 date = 2;
string fileUrl = 3;
}
//======================================================================== //========================================================================
message GetQuarterlyReportListReq{ message GetQuarterlyReportListReq{
int32 page = 1; int32 page = 1;
@ -164,18 +148,3 @@ message DeleteQuarterlyReportReq{
message DeleteQuarterlyReportResp{ message DeleteQuarterlyReportResp{
string msg = 1; string msg = 1;
} }
message DisplayQuarterlyReportReq{
}
message DisplayQuarterlyReportResp{
repeated DisplayQuarterlyReportItem Item = 1;
}
message DisplayQuarterlyReportItem {
string fileName =1;
string fileIntroduce = 2;
string attachment = 3;
string attachmentName = 4;
}

View File

@ -57,22 +57,6 @@ func (this *DeleteAnnualReportReq) Validate() error {
func (this *DeleteAnnualReportResp) Validate() error { func (this *DeleteAnnualReportResp) Validate() error {
return nil return nil
} }
func (this *DisplayAnnualReportReq) Validate() error {
return nil
}
func (this *DisplayAnnualReportResp) Validate() error {
for _, item := range this.Item {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Item", err)
}
}
}
return nil
}
func (this *DisplayAnnualReportItem) Validate() error {
return nil
}
func (this *GetQuarterlyReportListReq) Validate() error { func (this *GetQuarterlyReportListReq) Validate() error {
if this.Filtrate != nil { if this.Filtrate != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Filtrate); err != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Filtrate); err != nil {
@ -112,19 +96,3 @@ func (this *DeleteQuarterlyReportReq) Validate() error {
func (this *DeleteQuarterlyReportResp) Validate() error { func (this *DeleteQuarterlyReportResp) Validate() error {
return nil return nil
} }
func (this *DisplayQuarterlyReportReq) Validate() error {
return nil
}
func (this *DisplayQuarterlyReportResp) Validate() error {
for _, item := range this.Item {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Item", err)
}
}
}
return nil
}
func (this *DisplayQuarterlyReportItem) Validate() error {
return nil
}

View File

@ -33,13 +33,11 @@ type ReportsClient interface {
AddAnnualReport(ctx context.Context, in *AddAnnualReportReq, opts ...grpc_go.CallOption) (*AddAnnualReportResp, common.ErrorWithAttachment) AddAnnualReport(ctx context.Context, in *AddAnnualReportReq, opts ...grpc_go.CallOption) (*AddAnnualReportResp, common.ErrorWithAttachment)
EditAnnualReport(ctx context.Context, in *EditAnnualReportReq, opts ...grpc_go.CallOption) (*EditAnnualReportResp, common.ErrorWithAttachment) EditAnnualReport(ctx context.Context, in *EditAnnualReportReq, opts ...grpc_go.CallOption) (*EditAnnualReportResp, common.ErrorWithAttachment)
DeleteAnnualReport(ctx context.Context, in *DeleteAnnualReportReq, opts ...grpc_go.CallOption) (*DeleteAnnualReportResp, common.ErrorWithAttachment) DeleteAnnualReport(ctx context.Context, in *DeleteAnnualReportReq, opts ...grpc_go.CallOption) (*DeleteAnnualReportResp, common.ErrorWithAttachment)
DisplayAnnualReport(ctx context.Context, in *DisplayAnnualReportReq, opts ...grpc_go.CallOption) (*DisplayAnnualReportResp, common.ErrorWithAttachment)
// ==================================季度报告====================================== // ==================================季度报告======================================
GetQuarterlyReportList(ctx context.Context, in *GetQuarterlyReportListReq, opts ...grpc_go.CallOption) (*GetQuarterlyReportListResp, common.ErrorWithAttachment) GetQuarterlyReportList(ctx context.Context, in *GetQuarterlyReportListReq, opts ...grpc_go.CallOption) (*GetQuarterlyReportListResp, common.ErrorWithAttachment)
AddQuarterlyReport(ctx context.Context, in *AddQuarterlyReportReq, opts ...grpc_go.CallOption) (*AddQuarterlyReportResp, common.ErrorWithAttachment) AddQuarterlyReport(ctx context.Context, in *AddQuarterlyReportReq, opts ...grpc_go.CallOption) (*AddQuarterlyReportResp, common.ErrorWithAttachment)
EditQuarterlyReport(ctx context.Context, in *EditQuarterlyReportReq, opts ...grpc_go.CallOption) (*EditQuarterlyReportResp, common.ErrorWithAttachment) EditQuarterlyReport(ctx context.Context, in *EditQuarterlyReportReq, opts ...grpc_go.CallOption) (*EditQuarterlyReportResp, common.ErrorWithAttachment)
DeleteQuarterlyReport(ctx context.Context, in *DeleteQuarterlyReportReq, opts ...grpc_go.CallOption) (*DeleteQuarterlyReportResp, common.ErrorWithAttachment) DeleteQuarterlyReport(ctx context.Context, in *DeleteQuarterlyReportReq, opts ...grpc_go.CallOption) (*DeleteQuarterlyReportResp, common.ErrorWithAttachment)
DisplayQuarterlyReport(ctx context.Context, in *DisplayQuarterlyReportReq, opts ...grpc_go.CallOption) (*DisplayQuarterlyReportResp, common.ErrorWithAttachment)
} }
type reportsClient struct { type reportsClient struct {
@ -51,12 +49,10 @@ type ReportsClientImpl struct {
AddAnnualReport func(ctx context.Context, in *AddAnnualReportReq) (*AddAnnualReportResp, error) AddAnnualReport func(ctx context.Context, in *AddAnnualReportReq) (*AddAnnualReportResp, error)
EditAnnualReport func(ctx context.Context, in *EditAnnualReportReq) (*EditAnnualReportResp, error) EditAnnualReport func(ctx context.Context, in *EditAnnualReportReq) (*EditAnnualReportResp, error)
DeleteAnnualReport func(ctx context.Context, in *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) DeleteAnnualReport func(ctx context.Context, in *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error)
DisplayAnnualReport func(ctx context.Context, in *DisplayAnnualReportReq) (*DisplayAnnualReportResp, error)
GetQuarterlyReportList func(ctx context.Context, in *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) GetQuarterlyReportList func(ctx context.Context, in *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error)
AddQuarterlyReport func(ctx context.Context, in *AddQuarterlyReportReq) (*AddQuarterlyReportResp, error) AddQuarterlyReport func(ctx context.Context, in *AddQuarterlyReportReq) (*AddQuarterlyReportResp, error)
EditQuarterlyReport func(ctx context.Context, in *EditQuarterlyReportReq) (*EditQuarterlyReportResp, error) EditQuarterlyReport func(ctx context.Context, in *EditQuarterlyReportReq) (*EditQuarterlyReportResp, error)
DeleteQuarterlyReport func(ctx context.Context, in *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) DeleteQuarterlyReport func(ctx context.Context, in *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error)
DisplayQuarterlyReport func(ctx context.Context, in *DisplayQuarterlyReportReq) (*DisplayQuarterlyReportResp, error)
} }
func (c *ReportsClientImpl) GetDubboStub(cc *triple.TripleConn) ReportsClient { func (c *ReportsClientImpl) GetDubboStub(cc *triple.TripleConn) ReportsClient {
@ -95,12 +91,6 @@ func (c *reportsClient) DeleteAnnualReport(ctx context.Context, in *DeleteAnnual
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteAnnualReport", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteAnnualReport", in, out)
} }
func (c *reportsClient) DisplayAnnualReport(ctx context.Context, in *DisplayAnnualReportReq, opts ...grpc_go.CallOption) (*DisplayAnnualReportResp, common.ErrorWithAttachment) {
out := new(DisplayAnnualReportResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayAnnualReport", in, out)
}
func (c *reportsClient) GetQuarterlyReportList(ctx context.Context, in *GetQuarterlyReportListReq, opts ...grpc_go.CallOption) (*GetQuarterlyReportListResp, common.ErrorWithAttachment) { func (c *reportsClient) GetQuarterlyReportList(ctx context.Context, in *GetQuarterlyReportListReq, opts ...grpc_go.CallOption) (*GetQuarterlyReportListResp, common.ErrorWithAttachment) {
out := new(GetQuarterlyReportListResp) out := new(GetQuarterlyReportListResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string) interfaceKey := ctx.Value(constant.InterfaceKey).(string)
@ -125,12 +115,6 @@ func (c *reportsClient) DeleteQuarterlyReport(ctx context.Context, in *DeleteQua
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteQuarterlyReport", in, out) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteQuarterlyReport", in, out)
} }
func (c *reportsClient) DisplayQuarterlyReport(ctx context.Context, in *DisplayQuarterlyReportReq, opts ...grpc_go.CallOption) (*DisplayQuarterlyReportResp, common.ErrorWithAttachment) {
out := new(DisplayQuarterlyReportResp)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayQuarterlyReport", in, out)
}
// ReportsServer is the server API for Reports service. // ReportsServer is the server API for Reports service.
// All implementations must embed UnimplementedReportsServer // All implementations must embed UnimplementedReportsServer
// for forward compatibility // for forward compatibility
@ -140,13 +124,11 @@ type ReportsServer interface {
AddAnnualReport(context.Context, *AddAnnualReportReq) (*AddAnnualReportResp, error) AddAnnualReport(context.Context, *AddAnnualReportReq) (*AddAnnualReportResp, error)
EditAnnualReport(context.Context, *EditAnnualReportReq) (*EditAnnualReportResp, error) EditAnnualReport(context.Context, *EditAnnualReportReq) (*EditAnnualReportResp, error)
DeleteAnnualReport(context.Context, *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) DeleteAnnualReport(context.Context, *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error)
DisplayAnnualReport(context.Context, *DisplayAnnualReportReq) (*DisplayAnnualReportResp, error)
// ==================================季度报告====================================== // ==================================季度报告======================================
GetQuarterlyReportList(context.Context, *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) GetQuarterlyReportList(context.Context, *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error)
AddQuarterlyReport(context.Context, *AddQuarterlyReportReq) (*AddQuarterlyReportResp, error) AddQuarterlyReport(context.Context, *AddQuarterlyReportReq) (*AddQuarterlyReportResp, error)
EditQuarterlyReport(context.Context, *EditQuarterlyReportReq) (*EditQuarterlyReportResp, error) EditQuarterlyReport(context.Context, *EditQuarterlyReportReq) (*EditQuarterlyReportResp, error)
DeleteQuarterlyReport(context.Context, *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) DeleteQuarterlyReport(context.Context, *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error)
DisplayQuarterlyReport(context.Context, *DisplayQuarterlyReportReq) (*DisplayQuarterlyReportResp, error)
mustEmbedUnimplementedReportsServer() mustEmbedUnimplementedReportsServer()
} }
@ -167,9 +149,6 @@ func (UnimplementedReportsServer) EditAnnualReport(context.Context, *EditAnnualR
func (UnimplementedReportsServer) DeleteAnnualReport(context.Context, *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) { func (UnimplementedReportsServer) DeleteAnnualReport(context.Context, *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnualReport not implemented") return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnualReport not implemented")
} }
func (UnimplementedReportsServer) DisplayAnnualReport(context.Context, *DisplayAnnualReportReq) (*DisplayAnnualReportResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisplayAnnualReport not implemented")
}
func (UnimplementedReportsServer) GetQuarterlyReportList(context.Context, *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) { func (UnimplementedReportsServer) GetQuarterlyReportList(context.Context, *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetQuarterlyReportList not implemented") return nil, status.Errorf(codes.Unimplemented, "method GetQuarterlyReportList not implemented")
} }
@ -182,9 +161,6 @@ func (UnimplementedReportsServer) EditQuarterlyReport(context.Context, *EditQuar
func (UnimplementedReportsServer) DeleteQuarterlyReport(context.Context, *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) { func (UnimplementedReportsServer) DeleteQuarterlyReport(context.Context, *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteQuarterlyReport not implemented") return nil, status.Errorf(codes.Unimplemented, "method DeleteQuarterlyReport not implemented")
} }
func (UnimplementedReportsServer) DisplayQuarterlyReport(context.Context, *DisplayQuarterlyReportReq) (*DisplayQuarterlyReportResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisplayQuarterlyReport not implemented")
}
func (s *UnimplementedReportsServer) XXX_SetProxyImpl(impl protocol.Invoker) { func (s *UnimplementedReportsServer) XXX_SetProxyImpl(impl protocol.Invoker) {
s.proxyImpl = impl s.proxyImpl = impl
} }
@ -329,35 +305,6 @@ func _Reports_DeleteAnnualReport_Handler(srv interface{}, ctx context.Context, d
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Reports_DisplayAnnualReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(DisplayAnnualReportReq)
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("DisplayAnnualReport", 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 _Reports_GetQuarterlyReportList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { func _Reports_GetQuarterlyReportList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(GetQuarterlyReportListReq) in := new(GetQuarterlyReportListReq)
if err := dec(in); err != nil { if err := dec(in); err != nil {
@ -474,35 +421,6 @@ func _Reports_DeleteQuarterlyReport_Handler(srv interface{}, ctx context.Context
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Reports_DisplayQuarterlyReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(DisplayQuarterlyReportReq)
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("DisplayQuarterlyReport", 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)
}
// Reports_ServiceDesc is the grpc_go.ServiceDesc for Reports service. // Reports_ServiceDesc is the grpc_go.ServiceDesc for Reports service.
// It's only intended for direct use with grpc_go.RegisterService, // It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy) // and not to be introspected or modified (even as a copy)
@ -526,10 +444,6 @@ var Reports_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "DeleteAnnualReport", MethodName: "DeleteAnnualReport",
Handler: _Reports_DeleteAnnualReport_Handler, Handler: _Reports_DeleteAnnualReport_Handler,
}, },
{
MethodName: "DisplayAnnualReport",
Handler: _Reports_DisplayAnnualReport_Handler,
},
{ {
MethodName: "GetQuarterlyReportList", MethodName: "GetQuarterlyReportList",
Handler: _Reports_GetQuarterlyReportList_Handler, Handler: _Reports_GetQuarterlyReportList_Handler,
@ -546,10 +460,6 @@ var Reports_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "DeleteQuarterlyReport", MethodName: "DeleteQuarterlyReport",
Handler: _Reports_DeleteQuarterlyReport_Handler, Handler: _Reports_DeleteQuarterlyReport_Handler,
}, },
{
MethodName: "DisplayQuarterlyReport",
Handler: _Reports_DisplayQuarterlyReport_Handler,
},
}, },
Streams: []grpc_go.StreamDesc{}, Streams: []grpc_go.StreamDesc{},
Metadata: "api/reports/reports.proto", Metadata: "api/reports/reports.proto",

View File

@ -32,24 +32,12 @@ func (MembersProvider) EditManagement(_ context.Context, req *members.EditManage
return logic.MembersLogic.EditManagement(req) return logic.MembersLogic.EditManagement(req)
} }
func (MembersProvider) DisplayManagement(_ context.Context, req *members.DisplayManagementReq) (*members.DisplayManagementResp, error) {
return logic.MembersLogic.DisplayManagement(req)
}
// ==================================董事会信息管理====================================== // ==================================董事会信息管理======================================
func (MembersProvider) EditBoardOfDirectors(_ context.Context, req *members.EditBoardOfDirectorsReq) (*members.EditBoardOfDirectorsResp, error) { func (MembersProvider) EditBoardOfDirectors(_ context.Context, req *members.EditBoardOfDirectorsReq) (*members.EditBoardOfDirectorsResp, error) {
return logic.MembersLogic.EditBoardOfDirectors(req) return logic.MembersLogic.EditBoardOfDirectors(req)
} }
func (MembersProvider) DisplayBoardOfDirectors(_ context.Context, req *members.DisplayBoardOfDirectorsReq) (*members.DisplayBoardOfDirectorsResp, error) {
return logic.MembersLogic.DisplayBoardOfDirectors(req)
}
// ==================================委员会任命管理====================================== // ==================================委员会任命管理======================================
func (MembersProvider) EditCommitteeAppointments(_ context.Context, req *members.EditCommitteeAppointmentsReq) (*members.EditCommitteeAppointmentsResp, error) { func (MembersProvider) EditCommitteeAppointments(_ context.Context, req *members.EditCommitteeAppointmentsReq) (*members.EditCommitteeAppointmentsResp, error) {
return logic.MembersLogic.EditCommitteeAppointments(req) return logic.MembersLogic.EditCommitteeAppointments(req)
} }
func (MembersProvider) DisplayCommitteeAppointments(_ context.Context, req *members.DisplayCommitteeAppointmentsReq) (*members.DisplayCommitteeAppointmentsResp, error) {
return logic.MembersLogic.DisplayCommitteeAppointments(req)
}

View File

@ -10,7 +10,6 @@ type ReportProvider struct {
reports.UnimplementedReportsServer reports.UnimplementedReportsServer
} }
// =======================================年度报告=======================================
// 获取年度报告列表 // 获取年度报告列表
func (ReportProvider) GetAnnualReportList(_ context.Context, req *reports.GetAnnualReportListReq) (resp *reports.GetAnnualReportListResp, err error) { func (ReportProvider) GetAnnualReportList(_ context.Context, req *reports.GetAnnualReportListReq) (resp *reports.GetAnnualReportListResp, err error) {
return logic.AnnualReportsLogic.List(req) return logic.AnnualReportsLogic.List(req)
@ -31,12 +30,6 @@ func (ReportProvider) DeleteAnnualReport(_ context.Context, req *reports.DeleteA
return logic.AnnualReportsLogic.Delete(req) return logic.AnnualReportsLogic.Delete(req)
} }
// 年度报告展示列表
func (ReportProvider) DisplayAnnualReport(_ context.Context, req *reports.DisplayAnnualReportReq) (resp *reports.DisplayAnnualReportResp, err error) {
return logic.AnnualReportsLogic.Display(req)
}
// =======================================季度报告=======================================
// 获取季度报告列表 // 获取季度报告列表
func (ReportProvider) GetQuarterlyReportList(_ context.Context, req *reports.GetQuarterlyReportListReq) (resp *reports.GetQuarterlyReportListResp, err error) { func (ReportProvider) GetQuarterlyReportList(_ context.Context, req *reports.GetQuarterlyReportListReq) (resp *reports.GetQuarterlyReportListResp, err error) {
return logic.QuarterlyReportsLogic.List(req) return logic.QuarterlyReportsLogic.List(req)
@ -56,8 +49,3 @@ func (ReportProvider) EditQuarterlyReport(_ context.Context, req *reports.EditQu
func (ReportProvider) DeleteQuarterlyReport(_ context.Context, req *reports.DeleteQuarterlyReportReq) (resp *reports.DeleteQuarterlyReportResp, err error) { func (ReportProvider) DeleteQuarterlyReport(_ context.Context, req *reports.DeleteQuarterlyReportReq) (resp *reports.DeleteQuarterlyReportResp, err error) {
return logic.QuarterlyReportsLogic.Delete(req) return logic.QuarterlyReportsLogic.Delete(req)
} }
// 季度报告展示列表
func (ReportProvider) DisplayQuarterlyReport(_ context.Context, req *reports.DisplayQuarterlyReportReq) (resp *reports.DisplayQuarterlyReportResp, err error) {
return logic.QuarterlyReportsLogic.Display(req)
}

View File

@ -5,7 +5,6 @@ import (
"micro-document/api/reports" "micro-document/api/reports"
"micro-document/internel/model" "micro-document/internel/model"
"micro-document/pkg/db" "micro-document/pkg/db"
"micro-document/pkg/msg"
"time" "time"
) )
@ -103,11 +102,3 @@ func (annualReportsDao) Delete(req *reports.DeleteAnnualReportReq) (err error) {
} }
return return
} }
func (annualReportsDao) Display() (data []model.AnnualReport, err error) {
err = db.DocDB.Model(&model.AnnualReport{}).Where("status = ?", msg.StatusOnline).Order("sort ASC").Find(&data).Error
if err != nil {
return nil, errors.New("查询年度报告失败")
}
return
}

View File

@ -5,7 +5,6 @@ import (
"micro-document/api/members" "micro-document/api/members"
"micro-document/internel/model" "micro-document/internel/model"
"micro-document/pkg/db" "micro-document/pkg/db"
"micro-document/pkg/msg"
"time" "time"
"gorm.io/gorm" "gorm.io/gorm"
@ -331,46 +330,3 @@ func (membersDao) GetCommitteeAppointmentsByUuids(uuids []string) (map[string]mo
return committeeAppointmentsMap, nil return committeeAppointmentsMap, nil
} }
// =============批量查询官网展示成员管理,董事会,委员会接口==================
// 批量查询成员管理
func (membersDao) GetDisplayManagementList() (managementList []model.Management, err error) {
err = db.DocDB.Table("management").
Select("management.name", "management.image", "management.brief", "management.introduction").
Joins("INNER JOIN members ON management.uuid = members.uuid").
Where("management.status = ?", msg.StatusOnline). // 上架状态
Order("members.sort ASC"). // 按members表的sort字段升序排序
Find(&managementList).Error
if err != nil {
return nil, err
}
return
}
// 批量查询董事会
func (membersDao) GetDisplayBoardOfDirectorsList() (boardOfDirectorsList []model.BoardOfDirectors, err error) {
err = db.DocDB.Table("board_of_directors").
Select("board_of_directors.name", "board_of_directors.brief", "board_of_directors.introduction").
Joins("INNER JOIN members ON board_of_directors.uuid = members.uuid").
Where("board_of_directors.status = ?", msg.StatusOnline). // 上架状态
Order("members.sort ASC"). // 按members表的sort字段升序排序
Find(&boardOfDirectorsList).Error
if err != nil {
return nil, err
}
return
}
// 批量查询委员会
func (membersDao) GetDisplayCommitteeAppointmentsList() (committeeAppointmentsList []model.CommitteeAppointments, err error) {
err = db.DocDB.Table("committee_appointments").
Select("committee_appointments.name", "committee_appointments.audit_committee", "committee_appointments.compensation_committee", "committee_appointments.nominating_committee").
Joins("INNER JOIN members ON committee_appointments.uuid = members.uuid").
Where("committee_appointments.status = ?", msg.StatusOnline). // 上架状态
Order("members.sort ASC"). // 按members表的sort字段升序排序
Find(&committeeAppointmentsList).Error
if err != nil {
return nil, err
}
return
}

View File

@ -5,7 +5,6 @@ import (
"micro-document/api/reports" "micro-document/api/reports"
"micro-document/internel/model" "micro-document/internel/model"
"micro-document/pkg/db" "micro-document/pkg/db"
"micro-document/pkg/msg"
"time" "time"
) )
@ -98,11 +97,3 @@ func (quarterlyReportsDao) Delete(req *reports.DeleteQuarterlyReportReq) (err er
} }
return return
} }
func (quarterlyReportsDao) Display() (data []model.QuarterlyReport, err error) {
err = db.DocDB.Model(&model.QuarterlyReport{}).Where("status = ?", msg.StatusOnline).Order("sort ASC").Find(&data).Error
if err != nil {
return nil, errors.New("查询季度报告失败")
}
return
}

View File

@ -4,11 +4,9 @@ import (
"errors" "errors"
"micro-document/api/reports" "micro-document/api/reports"
"micro-document/internel/dao" "micro-document/internel/dao"
"micro-document/internel/model"
util "micro-document/pkg/utils" util "micro-document/pkg/utils"
"github.com/jinzhu/copier" "github.com/jinzhu/copier"
"github.com/samber/lo"
) )
type annualReportsLogic struct{} type annualReportsLogic struct{}
@ -60,19 +58,3 @@ func (annualReportsLogic) Delete(req *reports.DeleteAnnualReportReq) (result *re
result.Msg = "删除年度报告成功" result.Msg = "删除年度报告成功"
return result, nil return result, nil
} }
func (annualReportsLogic) Display(req *reports.DisplayAnnualReportReq) (result *reports.DisplayAnnualReportResp, err error) {
result = &reports.DisplayAnnualReportResp{}
data, err := dao.AnnualReportsDao.Display()
if err != nil {
return nil, err
}
result.Item = lo.Map(data, func(m model.AnnualReport, i int) *reports.DisplayAnnualReportItem {
return &reports.DisplayAnnualReportItem{
FileName: m.FileName,
Date: m.Date,
FileUrl: m.FileUrl,
}
})
return result, nil
}

View File

@ -4,10 +4,8 @@ import (
"errors" "errors"
"micro-document/api/members" "micro-document/api/members"
"micro-document/internel/dao" "micro-document/internel/dao"
"micro-document/internel/model"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/samber/lo"
) )
type membersLogic struct{} type membersLogic struct{}
@ -147,24 +145,6 @@ func (membersLogic) EditManagement(req *members.EditManagementReq) (result *memb
return result, nil return result, nil
} }
// 展示成员管理列表
func (membersLogic) DisplayManagement(req *members.DisplayManagementReq) (result *members.DisplayManagementResp, err error) {
result = &members.DisplayManagementResp{}
data, err := dao.MembersDao.GetDisplayManagementList()
if err != nil {
return nil, err
}
result.Item = lo.Map(data, func(m model.Management, i int) *members.DisplayManagementItem {
return &members.DisplayManagementItem{
Name: m.Name,
Image: m.Image,
Brief: m.Brief,
Introduction: m.Introduction,
}
})
return result, nil
}
// 编辑董事会 // 编辑董事会
func (membersLogic) EditBoardOfDirectors(req *members.EditBoardOfDirectorsReq) (result *members.EditBoardOfDirectorsResp, err error) { func (membersLogic) EditBoardOfDirectors(req *members.EditBoardOfDirectorsReq) (result *members.EditBoardOfDirectorsResp, err error) {
result = &members.EditBoardOfDirectorsResp{} result = &members.EditBoardOfDirectorsResp{}
@ -176,23 +156,6 @@ func (membersLogic) EditBoardOfDirectors(req *members.EditBoardOfDirectorsReq) (
return result, nil return result, nil
} }
// 展示董事会列表
func (membersLogic) DisplayBoardOfDirectors(req *members.DisplayBoardOfDirectorsReq) (result *members.DisplayBoardOfDirectorsResp, err error) {
result = &members.DisplayBoardOfDirectorsResp{}
data, err := dao.MembersDao.GetDisplayBoardOfDirectorsList()
if err != nil {
return nil, err
}
result.Item = lo.Map(data, func(m model.BoardOfDirectors, i int) *members.DisplayBoardOfDirectorItem {
return &members.DisplayBoardOfDirectorItem{
Name: m.Name,
Brief: m.Brief,
Introduction: m.Introduction,
}
})
return result, nil
}
// 编辑委员会 // 编辑委员会
func (membersLogic) EditCommitteeAppointments(req *members.EditCommitteeAppointmentsReq) (result *members.EditCommitteeAppointmentsResp, err error) { func (membersLogic) EditCommitteeAppointments(req *members.EditCommitteeAppointmentsReq) (result *members.EditCommitteeAppointmentsResp, err error) {
result = &members.EditCommitteeAppointmentsResp{} result = &members.EditCommitteeAppointmentsResp{}
@ -203,21 +166,3 @@ func (membersLogic) EditCommitteeAppointments(req *members.EditCommitteeAppointm
result.Msg = "编辑委员会成功" result.Msg = "编辑委员会成功"
return result, nil return result, nil
} }
// 展示委员会列表
func (membersLogic) DisplayCommitteeAppointments(req *members.DisplayCommitteeAppointmentsReq) (result *members.DisplayCommitteeAppointmentsResp, err error) {
result = &members.DisplayCommitteeAppointmentsResp{}
data, err := dao.MembersDao.GetDisplayCommitteeAppointmentsList()
if err != nil {
return nil, err
}
result.Item = lo.Map(data, func(m model.CommitteeAppointments, i int) *members.DisplayCommitteeAppointmentsItem {
return &members.DisplayCommitteeAppointmentsItem{
Name: m.Name,
AuditCommittee: m.AuditCommittee,
CompensationCommittee: m.CompensationCommittee,
NominatingCommittee: m.NominatingCommittee,
}
})
return result, nil
}

View File

@ -4,11 +4,9 @@ import (
"errors" "errors"
"micro-document/api/reports" "micro-document/api/reports"
"micro-document/internel/dao" "micro-document/internel/dao"
"micro-document/internel/model"
util "micro-document/pkg/utils" util "micro-document/pkg/utils"
"github.com/jinzhu/copier" "github.com/jinzhu/copier"
"github.com/samber/lo"
) )
type quarterlyReportsLogic struct{} type quarterlyReportsLogic struct{}
@ -64,21 +62,3 @@ func (quarterlyReportsLogic) Delete(req *reports.DeleteQuarterlyReportReq) (resu
result.Msg = "删除季度报告成功" result.Msg = "删除季度报告成功"
return result, nil return result, nil
} }
// 季度报告展示列表
func (quarterlyReportsLogic) Display(req *reports.DisplayQuarterlyReportReq) (result *reports.DisplayQuarterlyReportResp, err error) {
result = &reports.DisplayQuarterlyReportResp{}
data, err := dao.QuarterlyReportsDao.Display()
if err != nil {
return nil, err
}
result.Item = lo.Map(data, func(m model.QuarterlyReport, i int) *reports.DisplayQuarterlyReportItem {
return &reports.DisplayQuarterlyReportItem{
FileName: m.FileName,
FileIntroduce: m.FileIntroduce,
Attachment: m.Attachment,
AttachmentName: m.AttachmentName,
}
})
return result, nil
}

View File

@ -1,6 +0,0 @@
package msg
const (
StatusOnline = 1 // 上架
StatusOffline = 2 // 下架
)