feat:增加Fiee官网成员,年度、季度报告展示

This commit is contained in:
jiaji.H 2025-10-10 13:36:40 +08:00
parent db1e91d888
commit dc28c258b9
9 changed files with 1749 additions and 284 deletions

File diff suppressed because it is too large Load Diff

View File

@ -81,6 +81,22 @@ 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
} }
@ -90,6 +106,22 @@ 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
} }
@ -99,3 +131,19 @@ 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,10 +35,13 @@ 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 {
@ -46,13 +49,16 @@ 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)
EditBoardOfDirectors func(ctx context.Context, in *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) DisplayManagement func(ctx context.Context, in *DisplayManagementReq) (*DisplayManagementResp, error)
EditCommitteeAppointments func(ctx context.Context, in *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) EditBoardOfDirectors func(ctx context.Context, in *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, 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 {
@ -97,18 +103,36 @@ 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
@ -120,10 +144,13 @@ 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()
} }
@ -147,12 +174,21 @@ 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
} }
@ -326,6 +362,35 @@ 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 {
@ -355,6 +420,35 @@ 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 {
@ -384,6 +478,35 @@ 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)
@ -411,14 +534,26 @@ 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,6 +699,154 @@ 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
@ -713,7 +861,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[10] 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)
} }
@ -726,7 +874,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[10] 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 {
@ -739,7 +887,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{10} return file_api_reports_reports_proto_rawDescGZIP(), []int{13}
} }
func (x *GetQuarterlyReportListReq) GetPage() int32 { func (x *GetQuarterlyReportListReq) GetPage() int32 {
@ -778,7 +926,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[11] 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)
} }
@ -791,7 +939,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[11] 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 {
@ -804,7 +952,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{11} return file_api_reports_reports_proto_rawDescGZIP(), []int{14}
} }
func (x *GetQuarterlyReportListResp) GetMsg() string { func (x *GetQuarterlyReportListResp) GetMsg() string {
@ -862,7 +1010,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[12] 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)
} }
@ -875,7 +1023,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[12] 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 {
@ -888,7 +1036,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{12} return file_api_reports_reports_proto_rawDescGZIP(), []int{15}
} }
func (x *QuarterlyReport) GetId() int32 { func (x *QuarterlyReport) GetId() int32 {
@ -977,7 +1125,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[13] 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)
} }
@ -990,7 +1138,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[13] 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 {
@ -1003,7 +1151,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{13} return file_api_reports_reports_proto_rawDescGZIP(), []int{16}
} }
func (x *AddQuarterlyReportReq) GetFileName() string { func (x *AddQuarterlyReportReq) GetFileName() string {
@ -1059,7 +1207,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[14] 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)
} }
@ -1072,7 +1220,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[14] 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 {
@ -1085,7 +1233,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{14} return file_api_reports_reports_proto_rawDescGZIP(), []int{17}
} }
func (x *AddQuarterlyReportResp) GetMsg() string { func (x *AddQuarterlyReportResp) GetMsg() string {
@ -1114,7 +1262,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[15] 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)
} }
@ -1127,7 +1275,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[15] 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 {
@ -1140,7 +1288,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{15} return file_api_reports_reports_proto_rawDescGZIP(), []int{18}
} }
func (x *EditQuarterlyReportReq) GetId() int32 { func (x *EditQuarterlyReportReq) GetId() int32 {
@ -1217,7 +1365,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[16] mi := &file_api_reports_reports_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1230,7 +1378,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[16] mi := &file_api_reports_reports_proto_msgTypes[19]
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 {
@ -1243,7 +1391,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{16} return file_api_reports_reports_proto_rawDescGZIP(), []int{19}
} }
func (x *EditQuarterlyReportResp) GetMsg() string { func (x *EditQuarterlyReportResp) GetMsg() string {
@ -1264,7 +1412,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[17] mi := &file_api_reports_reports_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1277,7 +1425,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[17] mi := &file_api_reports_reports_proto_msgTypes[20]
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 {
@ -1290,7 +1438,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{17} return file_api_reports_reports_proto_rawDescGZIP(), []int{20}
} }
func (x *DeleteQuarterlyReportReq) GetId() int32 { func (x *DeleteQuarterlyReportReq) GetId() int32 {
@ -1311,7 +1459,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[18] mi := &file_api_reports_reports_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1324,7 +1472,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[18] mi := &file_api_reports_reports_proto_msgTypes[21]
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 {
@ -1337,7 +1485,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{18} return file_api_reports_reports_proto_rawDescGZIP(), []int{21}
} }
func (x *DeleteQuarterlyReportResp) GetMsg() string { func (x *DeleteQuarterlyReportResp) GetMsg() string {
@ -1347,6 +1495,162 @@ 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{
@ -1422,7 +1726,20 @@ 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, 0x7a, 0x0a, 0x19, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x18, 0x0a, 0x16,
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,
@ -1503,53 +1820,83 @@ 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, 0x32, 0xcd, 0x05, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x58, 0x73, 0x67, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61,
0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x22,
0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x55, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65,
0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x37, 0x0a,
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x72, 0x65,
0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74, 0x65, 0x6d,
0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x52, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x22, 0xa6, 0x01, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c,
0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x72, 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, 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, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e,
0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52,
0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f,
0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e,
0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e,
0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x65, 0x70,
0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61,
0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x72, 0x65, 0x70,
0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61,
0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x13, 0x44,
0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, 0x72, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69,
0x70, 0x12, 0x55, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72,
0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72,
0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12,
0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61,
0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74,
0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x13, 0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65,
0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x51,
0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e,
0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72,
0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f,
0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72,
0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x21, 0x2e, 0x72, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x58, 0x0a, 0x13, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79,
0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73,
0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65,
0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x73, 0x70, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 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, 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 (
@ -1564,7 +1911,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, 19) var file_api_reports_reports_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
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
@ -1576,42 +1923,54 @@ 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
(*GetQuarterlyReportListReq)(nil), // 10: reports.GetQuarterlyReportListReq (*DisplayAnnualReportReq)(nil), // 10: reports.DisplayAnnualReportReq
(*GetQuarterlyReportListResp)(nil), // 11: reports.GetQuarterlyReportListResp (*DisplayAnnualReportResp)(nil), // 11: reports.DisplayAnnualReportResp
(*QuarterlyReport)(nil), // 12: reports.QuarterlyReport (*DisplayAnnualReportItem)(nil), // 12: reports.DisplayAnnualReportItem
(*AddQuarterlyReportReq)(nil), // 13: reports.AddQuarterlyReportReq (*GetQuarterlyReportListReq)(nil), // 13: reports.GetQuarterlyReportListReq
(*AddQuarterlyReportResp)(nil), // 14: reports.AddQuarterlyReportResp (*GetQuarterlyReportListResp)(nil), // 14: reports.GetQuarterlyReportListResp
(*EditQuarterlyReportReq)(nil), // 15: reports.EditQuarterlyReportReq (*QuarterlyReport)(nil), // 15: reports.QuarterlyReport
(*EditQuarterlyReportResp)(nil), // 16: reports.EditQuarterlyReportResp (*AddQuarterlyReportReq)(nil), // 16: reports.AddQuarterlyReportReq
(*DeleteQuarterlyReportReq)(nil), // 17: reports.DeleteQuarterlyReportReq (*AddQuarterlyReportResp)(nil), // 17: reports.AddQuarterlyReportResp
(*DeleteQuarterlyReportResp)(nil), // 18: reports.DeleteQuarterlyReportResp (*EditQuarterlyReportReq)(nil), // 18: reports.EditQuarterlyReportReq
(*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
0, // 2: reports.GetQuarterlyReportListReq.filtrate:type_name -> reports.Filtrate 12, // 2: reports.DisplayAnnualReportResp.Item:type_name -> reports.DisplayAnnualReportItem
12, // 3: reports.GetQuarterlyReportListResp.data:type_name -> reports.QuarterlyReport 0, // 3: reports.GetQuarterlyReportListReq.filtrate:type_name -> reports.Filtrate
1, // 4: reports.Reports.GetAnnualReportList:input_type -> reports.GetAnnualReportListReq 15, // 4: reports.GetQuarterlyReportListResp.data:type_name -> reports.QuarterlyReport
4, // 5: reports.Reports.AddAnnualReport:input_type -> reports.AddAnnualReportReq 24, // 5: reports.DisplayQuarterlyReportResp.Item:type_name -> reports.DisplayQuarterlyReportItem
6, // 6: reports.Reports.EditAnnualReport:input_type -> reports.EditAnnualReportReq 1, // 6: reports.Reports.GetAnnualReportList:input_type -> reports.GetAnnualReportListReq
8, // 7: reports.Reports.DeleteAnnualReport:input_type -> reports.DeleteAnnualReportReq 4, // 7: reports.Reports.AddAnnualReport:input_type -> reports.AddAnnualReportReq
10, // 8: reports.Reports.GetQuarterlyReportList:input_type -> reports.GetQuarterlyReportListReq 6, // 8: reports.Reports.EditAnnualReport:input_type -> reports.EditAnnualReportReq
13, // 9: reports.Reports.AddQuarterlyReport:input_type -> reports.AddQuarterlyReportReq 8, // 9: reports.Reports.DeleteAnnualReport:input_type -> reports.DeleteAnnualReportReq
15, // 10: reports.Reports.EditQuarterlyReport:input_type -> reports.EditQuarterlyReportReq 10, // 10: reports.Reports.DisplayAnnualReport:input_type -> reports.DisplayAnnualReportReq
17, // 11: reports.Reports.DeleteQuarterlyReport:input_type -> reports.DeleteQuarterlyReportReq 13, // 11: reports.Reports.GetQuarterlyReportList:input_type -> reports.GetQuarterlyReportListReq
2, // 12: reports.Reports.GetAnnualReportList:output_type -> reports.GetAnnualReportListResp 16, // 12: reports.Reports.AddQuarterlyReport:input_type -> reports.AddQuarterlyReportReq
5, // 13: reports.Reports.AddAnnualReport:output_type -> reports.AddAnnualReportResp 18, // 13: reports.Reports.EditQuarterlyReport:input_type -> reports.EditQuarterlyReportReq
7, // 14: reports.Reports.EditAnnualReport:output_type -> reports.EditAnnualReportResp 20, // 14: reports.Reports.DeleteQuarterlyReport:input_type -> reports.DeleteQuarterlyReportReq
9, // 15: reports.Reports.DeleteAnnualReport:output_type -> reports.DeleteAnnualReportResp 22, // 15: reports.Reports.DisplayQuarterlyReport:input_type -> reports.DisplayQuarterlyReportReq
11, // 16: reports.Reports.GetQuarterlyReportList:output_type -> reports.GetQuarterlyReportListResp 2, // 16: reports.Reports.GetAnnualReportList:output_type -> reports.GetAnnualReportListResp
14, // 17: reports.Reports.AddQuarterlyReport:output_type -> reports.AddQuarterlyReportResp 5, // 17: reports.Reports.AddAnnualReport:output_type -> reports.AddAnnualReportResp
16, // 18: reports.Reports.EditQuarterlyReport:output_type -> reports.EditQuarterlyReportResp 7, // 18: reports.Reports.EditAnnualReport:output_type -> reports.EditAnnualReportResp
18, // 19: reports.Reports.DeleteQuarterlyReport:output_type -> reports.DeleteQuarterlyReportResp 9, // 19: reports.Reports.DeleteAnnualReport:output_type -> reports.DeleteAnnualReportResp
12, // [12:20] is the sub-list for method output_type 11, // 20: reports.Reports.DisplayAnnualReport:output_type -> reports.DisplayAnnualReportResp
4, // [4:12] is the sub-list for method input_type 14, // 21: reports.Reports.GetQuarterlyReportList:output_type -> reports.GetQuarterlyReportListResp
4, // [4:4] is the sub-list for extension type_name 17, // 22: reports.Reports.AddQuarterlyReport:output_type -> reports.AddQuarterlyReportResp
4, // [4:4] is the sub-list for extension extendee 19, // 23: reports.Reports.EditQuarterlyReport:output_type -> reports.EditQuarterlyReportResp
0, // [0:4] is the sub-list for field type_name 21, // 24: reports.Reports.DeleteQuarterlyReport:output_type -> reports.DeleteQuarterlyReportResp
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() }
@ -1741,7 +2100,7 @@ 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.(*GetQuarterlyReportListReq); i { switch v := v.(*DisplayAnnualReportReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1753,7 +2112,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[11].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.(*DisplayAnnualReportResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1765,7 +2124,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[12].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.(*DisplayAnnualReportItem); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1777,7 +2136,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[13].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.(*GetQuarterlyReportListReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1789,7 +2148,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[14].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.(*GetQuarterlyReportListResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1801,7 +2160,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[15].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.(*QuarterlyReport); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1813,7 +2172,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[16].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.(*AddQuarterlyReportReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1825,7 +2184,7 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[17].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.(*AddQuarterlyReportResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1837,6 +2196,42 @@ func file_api_reports_reports_proto_init() {
} }
} }
file_api_reports_reports_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { file_api_reports_reports_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EditQuarterlyReportReq); 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[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EditQuarterlyReportResp); 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[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteQuarterlyReportReq); 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[21].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
@ -1848,6 +2243,42 @@ 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{
@ -1855,7 +2286,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: 19, NumMessages: 25,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },

View File

@ -57,6 +57,22 @@ 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 {
@ -96,3 +112,19 @@ 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,11 +33,13 @@ 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 {
@ -49,10 +51,12 @@ 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 {
@ -91,6 +95,12 @@ 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)
@ -115,6 +125,12 @@ 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
@ -124,11 +140,13 @@ 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()
} }
@ -149,6 +167,9 @@ 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")
} }
@ -161,6 +182,9 @@ 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
} }
@ -305,6 +329,35 @@ 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 {
@ -421,6 +474,35 @@ 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)
@ -444,6 +526,10 @@ 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,
@ -460,6 +546,10 @@ 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

@ -195,11 +195,13 @@ func NewRouter() *gin.Engine {
reportsRoute := v1.Group("/reports") reportsRoute := v1.Group("/reports")
reportsRouteLogin := reportsRoute.Group("", middleware.CheckWebLogin(service.AccountProvider)) reportsRouteLogin := reportsRoute.Group("", middleware.CheckWebLogin(service.AccountProvider))
// 年度报告 // 年度报告
reportsRoute.POST("/annual/display", middleware.Cors(), reports.AnnualReportDisplay)
reportsRouteLogin.POST("/annual/create", reports.AnnualReportCreate) reportsRouteLogin.POST("/annual/create", reports.AnnualReportCreate)
reportsRouteLogin.POST("/annual/list", reports.AnnualReportList) reportsRouteLogin.POST("/annual/list", reports.AnnualReportList)
reportsRouteLogin.POST("/annual/delete", reports.AnnualReportDelete) reportsRouteLogin.POST("/annual/delete", reports.AnnualReportDelete)
reportsRouteLogin.POST("/annual/edit", reports.AnnualReportEdit) reportsRouteLogin.POST("/annual/edit", reports.AnnualReportEdit)
// 季度报告 // 季度报告
reportsRoute.POST("/quarterly/display", middleware.Cors(), reports.QuarterlyReportDisplay)
reportsRouteLogin.POST("/quarterly/create", reports.QuarterlyReportCreate) reportsRouteLogin.POST("/quarterly/create", reports.QuarterlyReportCreate)
reportsRouteLogin.POST("/quarterly/list", reports.QuarterlyReportList) reportsRouteLogin.POST("/quarterly/list", reports.QuarterlyReportList)
reportsRouteLogin.POST("/quarterly/delete", reports.QuarterlyReportDelete) reportsRouteLogin.POST("/quarterly/delete", reports.QuarterlyReportDelete)
@ -210,7 +212,7 @@ func NewRouter() *gin.Engine {
emailAlertsRoute := v1.Group("/emailalerts") emailAlertsRoute := v1.Group("/emailalerts")
emailAlertsRouteLogin := emailAlertsRoute.Group("", middleware.CheckWebLogin(service.AccountProvider)) emailAlertsRouteLogin := emailAlertsRoute.Group("", middleware.CheckWebLogin(service.AccountProvider))
emailAlertsRoute.POST("/submit", emailAlert.EmailAlertSubmit) emailAlertsRoute.POST("/submit", middleware.Cors(), emailAlert.EmailAlertSubmit)
emailAlertsRouteLogin.POST("/list", emailAlert.GetEmailInformationList) emailAlertsRouteLogin.POST("/list", emailAlert.GetEmailInformationList)
} }
{ {
@ -224,10 +226,13 @@ func NewRouter() *gin.Engine {
membersRouteLogin.POST("/delete", members.DeleteMember) membersRouteLogin.POST("/delete", members.DeleteMember)
// 成员部门信息管理 // 成员部门信息管理
membersRouteLogin.POST("/management/edit", members.EditManagement) membersRouteLogin.POST("/management/edit", members.EditManagement)
membersRoute.POST("/management/display", middleware.Cors(), members.DisplayManagement)
// 董事会信息管理 // 董事会信息管理
membersRouteLogin.POST("/boardofdirectors/edit", members.EditBoardOfDirectors) membersRouteLogin.POST("/boardofdirectors/edit", members.EditBoardOfDirectors)
membersRoute.POST("/boardofdirectors/display", middleware.Cors(), members.DisplayBoardOfDirectors)
// 委员会任命管理 // 委员会任命管理
membersRouteLogin.POST("/committeeappointments/edit", members.EditCommitteeAppointments) membersRouteLogin.POST("/committeeappointments/edit", members.EditCommitteeAppointments)
membersRoute.POST("/committeeappointments/display", middleware.Cors(), members.DisplayCommitteeAppointments)
} }
{ {
importRoute := v1.Group("/import") importRoute := v1.Group("/import")

View File

@ -120,3 +120,45 @@ func EditCommitteeAppointments(ctx *gin.Context) {
} }
service.Success(ctx, resp) service.Success(ctx, resp)
} }
func DisplayCommitteeAppointments(ctx *gin.Context) {
var req members.DisplayCommitteeAppointmentsReq
if err := ctx.ShouldBindJSON(&req); err != nil {
service.Error(ctx, err)
return
}
resp, err := service.MembersProvider.DisplayCommitteeAppointments(ctx, &req)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, resp)
}
func DisplayBoardOfDirectors(ctx *gin.Context) {
var req members.DisplayBoardOfDirectorsReq
if err := ctx.ShouldBindJSON(&req); err != nil {
service.Error(ctx, err)
return
}
resp, err := service.MembersProvider.DisplayBoardOfDirectors(ctx, &req)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, resp)
}
func DisplayManagement(ctx *gin.Context) {
var req members.DisplayManagementReq
if err := ctx.ShouldBindJSON(&req); err != nil {
service.Error(ctx, err)
return
}
resp, err := service.MembersProvider.DisplayManagement(ctx, &req)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, resp)
}

View File

@ -70,3 +70,31 @@ func AnnualReportEdit(ctx *gin.Context) {
} }
service.Success(ctx, resp) service.Success(ctx, resp)
} }
func AnnualReportDisplay(ctx *gin.Context) {
var req reports.DisplayAnnualReportReq
if err := ctx.ShouldBindJSON(&req); err != nil {
service.Error(ctx, err)
return
}
resp, err := service.ReportsProvider.DisplayAnnualReport(ctx, &req)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, resp)
}
func QuarterlyReportDisplay(ctx *gin.Context) {
var req reports.DisplayQuarterlyReportReq
if err := ctx.ShouldBindJSON(&req); err != nil {
service.Error(ctx, err)
return
}
resp, err := service.ReportsProvider.DisplayQuarterlyReport(ctx, &req)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, resp)
}