feat:增加fiee官网成员,年度、季度报告展示
This commit is contained in:
parent
c1eed8a03b
commit
aee7874c51
File diff suppressed because it is too large
Load Diff
@ -13,10 +13,13 @@ service Members{
|
|||||||
rpc GetMemberList(GetMemberListReq) returns (GetMemberListResp);
|
rpc GetMemberList(GetMemberListReq) returns (GetMemberListResp);
|
||||||
//===================================成员信息管理=======================================
|
//===================================成员信息管理=======================================
|
||||||
rpc EditManagement(EditManagementReq) returns (EditManagementResp);
|
rpc EditManagement(EditManagementReq) returns (EditManagementResp);
|
||||||
|
rpc DisplayManagement(DisplayManagementReq) returns (DisplayManagementResp);
|
||||||
//===================================董事会信息管理=======================================
|
//===================================董事会信息管理=======================================
|
||||||
rpc EditBoardOfDirectors(EditBoardOfDirectorsReq) returns (EditBoardOfDirectorsResp);
|
rpc EditBoardOfDirectors(EditBoardOfDirectorsReq) returns (EditBoardOfDirectorsResp);
|
||||||
|
rpc DisplayBoardOfDirectors(DisplayBoardOfDirectorsReq) returns (DisplayBoardOfDirectorsResp);
|
||||||
//==================================委员会任命管理======================================
|
//==================================委员会任命管理======================================
|
||||||
rpc EditCommitteeAppointments(EditCommitteeAppointmentsReq) returns (EditCommitteeAppointmentsResp);
|
rpc EditCommitteeAppointments(EditCommitteeAppointmentsReq) returns (EditCommitteeAppointmentsResp);
|
||||||
|
rpc DisplayCommitteeAppointments(DisplayCommitteeAppointmentsReq)returns(DisplayCommitteeAppointmentsResp);
|
||||||
}
|
}
|
||||||
//==================================成员管理======================================
|
//==================================成员管理======================================
|
||||||
message AddMemberReq{
|
message AddMemberReq{
|
||||||
@ -111,6 +114,22 @@ message EditManagementResp{
|
|||||||
string msg = 1;
|
string msg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message DisplayManagementReq{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayManagementResp{
|
||||||
|
repeated DisplayManagementItem item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayManagementItem{
|
||||||
|
string name = 1;
|
||||||
|
string image = 2;
|
||||||
|
string brief = 3;
|
||||||
|
string introduction = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//==================================董事会信息管理======================================
|
//==================================董事会信息管理======================================
|
||||||
message BoardOfDirectors{
|
message BoardOfDirectors{
|
||||||
string name = 1;
|
string name = 1;
|
||||||
@ -135,6 +154,19 @@ message EditBoardOfDirectorsResp{
|
|||||||
string msg = 1;
|
string msg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message DisplayBoardOfDirectorsReq{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayBoardOfDirectorsResp{
|
||||||
|
repeated DisplayBoardOfDirectorItem item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayBoardOfDirectorItem {
|
||||||
|
string name = 1;
|
||||||
|
string brief = 2;
|
||||||
|
string introduction = 3;
|
||||||
|
}
|
||||||
//==================================委员会任命管理======================================
|
//==================================委员会任命管理======================================
|
||||||
message CommitteeAppointments{
|
message CommitteeAppointments{
|
||||||
string name = 1;
|
string name = 1;
|
||||||
@ -160,3 +192,18 @@ message EditCommitteeAppointmentsReq{
|
|||||||
message EditCommitteeAppointmentsResp{
|
message EditCommitteeAppointmentsResp{
|
||||||
string msg = 1;
|
string msg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message DisplayCommitteeAppointmentsReq{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayCommitteeAppointmentsResp{
|
||||||
|
repeated DisplayCommitteeAppointmentsItem item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayCommitteeAppointmentsItem{
|
||||||
|
string name = 1;
|
||||||
|
int32 auditCommittee = 2;
|
||||||
|
int32 compensationCommittee = 3;
|
||||||
|
int32 nominatingCommittee = 4;
|
||||||
|
}
|
@ -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
|
||||||
|
}
|
||||||
|
@ -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",
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
|
@ -11,11 +11,13 @@ service Reports{
|
|||||||
rpc AddAnnualReport(AddAnnualReportReq) returns (AddAnnualReportResp);
|
rpc AddAnnualReport(AddAnnualReportReq) returns (AddAnnualReportResp);
|
||||||
rpc EditAnnualReport(EditAnnualReportReq) returns (EditAnnualReportResp);
|
rpc EditAnnualReport(EditAnnualReportReq) returns (EditAnnualReportResp);
|
||||||
rpc DeleteAnnualReport(DeleteAnnualReportReq) returns (DeleteAnnualReportResp);
|
rpc DeleteAnnualReport(DeleteAnnualReportReq) returns (DeleteAnnualReportResp);
|
||||||
|
rpc DisplayAnnualReport(DisplayAnnualReportReq) returns (DisplayAnnualReportResp);
|
||||||
//==================================季度报告======================================
|
//==================================季度报告======================================
|
||||||
rpc GetQuarterlyReportList(GetQuarterlyReportListReq) returns (GetQuarterlyReportListResp);
|
rpc GetQuarterlyReportList(GetQuarterlyReportListReq) returns (GetQuarterlyReportListResp);
|
||||||
rpc AddQuarterlyReport(AddQuarterlyReportReq) returns (AddQuarterlyReportResp);
|
rpc AddQuarterlyReport(AddQuarterlyReportReq) returns (AddQuarterlyReportResp);
|
||||||
rpc EditQuarterlyReport(EditQuarterlyReportReq) returns (EditQuarterlyReportResp);
|
rpc EditQuarterlyReport(EditQuarterlyReportReq) returns (EditQuarterlyReportResp);
|
||||||
rpc DeleteQuarterlyReport(DeleteQuarterlyReportReq) returns (DeleteQuarterlyReportResp);
|
rpc DeleteQuarterlyReport(DeleteQuarterlyReportReq) returns (DeleteQuarterlyReportResp);
|
||||||
|
rpc DisplayQuarterlyReport(DisplayQuarterlyReportReq) returns (DisplayQuarterlyReportResp);
|
||||||
}
|
}
|
||||||
|
|
||||||
message Filtrate{
|
message Filtrate{
|
||||||
@ -84,6 +86,20 @@ message DeleteAnnualReportResp{
|
|||||||
string msg = 1;
|
string msg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message DisplayAnnualReportReq{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayAnnualReportResp{
|
||||||
|
repeated DisplayAnnualReportItem Item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayAnnualReportItem{
|
||||||
|
string fileName = 1;
|
||||||
|
int64 date = 2;
|
||||||
|
string fileUrl = 3;
|
||||||
|
}
|
||||||
|
|
||||||
//==================================季度报告======================================
|
//==================================季度报告======================================
|
||||||
message GetQuarterlyReportListReq{
|
message GetQuarterlyReportListReq{
|
||||||
int32 page = 1;
|
int32 page = 1;
|
||||||
@ -148,3 +164,18 @@ message DeleteQuarterlyReportReq{
|
|||||||
message DeleteQuarterlyReportResp{
|
message DeleteQuarterlyReportResp{
|
||||||
string msg = 1;
|
string msg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message DisplayQuarterlyReportReq{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayQuarterlyReportResp{
|
||||||
|
repeated DisplayQuarterlyReportItem Item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DisplayQuarterlyReportItem {
|
||||||
|
string fileName =1;
|
||||||
|
string fileIntroduce = 2;
|
||||||
|
string attachment = 3;
|
||||||
|
string attachmentName = 4;
|
||||||
|
}
|
@ -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
|
||||||
|
}
|
||||||
|
@ -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",
|
||||||
|
@ -32,12 +32,24 @@ func (MembersProvider) EditManagement(_ context.Context, req *members.EditManage
|
|||||||
return logic.MembersLogic.EditManagement(req)
|
return logic.MembersLogic.EditManagement(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (MembersProvider) DisplayManagement(_ context.Context, req *members.DisplayManagementReq) (*members.DisplayManagementResp, error) {
|
||||||
|
return logic.MembersLogic.DisplayManagement(req)
|
||||||
|
}
|
||||||
|
|
||||||
// ==================================董事会信息管理======================================
|
// ==================================董事会信息管理======================================
|
||||||
func (MembersProvider) EditBoardOfDirectors(_ context.Context, req *members.EditBoardOfDirectorsReq) (*members.EditBoardOfDirectorsResp, error) {
|
func (MembersProvider) EditBoardOfDirectors(_ context.Context, req *members.EditBoardOfDirectorsReq) (*members.EditBoardOfDirectorsResp, error) {
|
||||||
return logic.MembersLogic.EditBoardOfDirectors(req)
|
return logic.MembersLogic.EditBoardOfDirectors(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (MembersProvider) DisplayBoardOfDirectors(_ context.Context, req *members.DisplayBoardOfDirectorsReq) (*members.DisplayBoardOfDirectorsResp, error) {
|
||||||
|
return logic.MembersLogic.DisplayBoardOfDirectors(req)
|
||||||
|
}
|
||||||
|
|
||||||
// ==================================委员会任命管理======================================
|
// ==================================委员会任命管理======================================
|
||||||
func (MembersProvider) EditCommitteeAppointments(_ context.Context, req *members.EditCommitteeAppointmentsReq) (*members.EditCommitteeAppointmentsResp, error) {
|
func (MembersProvider) EditCommitteeAppointments(_ context.Context, req *members.EditCommitteeAppointmentsReq) (*members.EditCommitteeAppointmentsResp, error) {
|
||||||
return logic.MembersLogic.EditCommitteeAppointments(req)
|
return logic.MembersLogic.EditCommitteeAppointments(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (MembersProvider) DisplayCommitteeAppointments(_ context.Context, req *members.DisplayCommitteeAppointmentsReq) (*members.DisplayCommitteeAppointmentsResp, error) {
|
||||||
|
return logic.MembersLogic.DisplayCommitteeAppointments(req)
|
||||||
|
}
|
||||||
|
@ -10,6 +10,7 @@ type ReportProvider struct {
|
|||||||
reports.UnimplementedReportsServer
|
reports.UnimplementedReportsServer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// =======================================年度报告=======================================
|
||||||
// 获取年度报告列表
|
// 获取年度报告列表
|
||||||
func (ReportProvider) GetAnnualReportList(_ context.Context, req *reports.GetAnnualReportListReq) (resp *reports.GetAnnualReportListResp, err error) {
|
func (ReportProvider) GetAnnualReportList(_ context.Context, req *reports.GetAnnualReportListReq) (resp *reports.GetAnnualReportListResp, err error) {
|
||||||
return logic.AnnualReportsLogic.List(req)
|
return logic.AnnualReportsLogic.List(req)
|
||||||
@ -30,6 +31,12 @@ func (ReportProvider) DeleteAnnualReport(_ context.Context, req *reports.DeleteA
|
|||||||
return logic.AnnualReportsLogic.Delete(req)
|
return logic.AnnualReportsLogic.Delete(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 年度报告展示列表
|
||||||
|
func (ReportProvider) DisplayAnnualReport(_ context.Context, req *reports.DisplayAnnualReportReq) (resp *reports.DisplayAnnualReportResp, err error) {
|
||||||
|
return logic.AnnualReportsLogic.Display(req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// =======================================季度报告=======================================
|
||||||
// 获取季度报告列表
|
// 获取季度报告列表
|
||||||
func (ReportProvider) GetQuarterlyReportList(_ context.Context, req *reports.GetQuarterlyReportListReq) (resp *reports.GetQuarterlyReportListResp, err error) {
|
func (ReportProvider) GetQuarterlyReportList(_ context.Context, req *reports.GetQuarterlyReportListReq) (resp *reports.GetQuarterlyReportListResp, err error) {
|
||||||
return logic.QuarterlyReportsLogic.List(req)
|
return logic.QuarterlyReportsLogic.List(req)
|
||||||
@ -49,3 +56,8 @@ func (ReportProvider) EditQuarterlyReport(_ context.Context, req *reports.EditQu
|
|||||||
func (ReportProvider) DeleteQuarterlyReport(_ context.Context, req *reports.DeleteQuarterlyReportReq) (resp *reports.DeleteQuarterlyReportResp, err error) {
|
func (ReportProvider) DeleteQuarterlyReport(_ context.Context, req *reports.DeleteQuarterlyReportReq) (resp *reports.DeleteQuarterlyReportResp, err error) {
|
||||||
return logic.QuarterlyReportsLogic.Delete(req)
|
return logic.QuarterlyReportsLogic.Delete(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 季度报告展示列表
|
||||||
|
func (ReportProvider) DisplayQuarterlyReport(_ context.Context, req *reports.DisplayQuarterlyReportReq) (resp *reports.DisplayQuarterlyReportResp, err error) {
|
||||||
|
return logic.QuarterlyReportsLogic.Display(req)
|
||||||
|
}
|
||||||
|
@ -102,3 +102,11 @@ func (annualReportsDao) Delete(req *reports.DeleteAnnualReportReq) (err error) {
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (annualReportsDao) Display() (data []model.AnnualReport, err error) {
|
||||||
|
err = db.DocDB.Model(&model.AnnualReport{}).Where("status = ?", 1).Order("sort ASC").Find(&data).Error
|
||||||
|
if err != nil {
|
||||||
|
return nil, errors.New("查询年度报告失败")
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
@ -5,6 +5,7 @@ import (
|
|||||||
"micro-document/api/members"
|
"micro-document/api/members"
|
||||||
"micro-document/internel/model"
|
"micro-document/internel/model"
|
||||||
"micro-document/pkg/db"
|
"micro-document/pkg/db"
|
||||||
|
"micro-document/pkg/msg"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
@ -330,3 +331,46 @@ func (membersDao) GetCommitteeAppointmentsByUuids(uuids []string) (map[string]mo
|
|||||||
|
|
||||||
return committeeAppointmentsMap, nil
|
return committeeAppointmentsMap, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// =============批量查询官网展示成员管理,董事会,委员会接口==================
|
||||||
|
// 批量查询成员管理
|
||||||
|
func (membersDao) GetDisplayManagementList() (managementList []model.Management, err error) {
|
||||||
|
err = db.DocDB.Table("management").
|
||||||
|
Select("management.name", "management.image", "management.brief", "management.introduction").
|
||||||
|
Joins("INNER JOIN members ON management.uuid = members.uuid").
|
||||||
|
Where("management.status = ?", msg.StatusOnline). // 上架状态
|
||||||
|
Order("members.sort ASC"). // 按members表的sort字段升序排序
|
||||||
|
Find(&managementList).Error
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// 批量查询董事会
|
||||||
|
func (membersDao) GetDisplayBoardOfDirectorsList() (boardOfDirectorsList []model.BoardOfDirectors, err error) {
|
||||||
|
err = db.DocDB.Table("board_of_directors").
|
||||||
|
Select("board_of_directors.name", "board_of_directors.brief", "board_of_directors.introduction").
|
||||||
|
Joins("INNER JOIN members ON board_of_directors.uuid = members.uuid").
|
||||||
|
Where("board_of_directors.status = ?", msg.StatusOnline). // 上架状态
|
||||||
|
Order("members.sort ASC"). // 按members表的sort字段升序排序
|
||||||
|
Find(&boardOfDirectorsList).Error
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// 批量查询委员会
|
||||||
|
func (membersDao) GetDisplayCommitteeAppointmentsList() (committeeAppointmentsList []model.CommitteeAppointments, err error) {
|
||||||
|
err = db.DocDB.Table("committee_appointments").
|
||||||
|
Select("committee_appointments.name", "committee_appointments.audit_committee", "committee_appointments.compensation_committee", "committee_appointments.nominating_committee").
|
||||||
|
Joins("INNER JOIN members ON committee_appointments.uuid = members.uuid").
|
||||||
|
Where("committee_appointments.status = ?", msg.StatusOnline). // 上架状态
|
||||||
|
Order("members.sort ASC"). // 按members表的sort字段升序排序
|
||||||
|
Find(&committeeAppointmentsList).Error
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
@ -97,3 +97,11 @@ func (quarterlyReportsDao) Delete(req *reports.DeleteQuarterlyReportReq) (err er
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (quarterlyReportsDao) Display() (data []model.QuarterlyReport, err error) {
|
||||||
|
err = db.DocDB.Model(&model.QuarterlyReport{}).Where("status = ?", 1).Order("sort ASC").Find(&data).Error
|
||||||
|
if err != nil {
|
||||||
|
return nil, errors.New("查询季度报告失败")
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
@ -4,9 +4,11 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"micro-document/api/reports"
|
"micro-document/api/reports"
|
||||||
"micro-document/internel/dao"
|
"micro-document/internel/dao"
|
||||||
|
"micro-document/internel/model"
|
||||||
util "micro-document/pkg/utils"
|
util "micro-document/pkg/utils"
|
||||||
|
|
||||||
"github.com/jinzhu/copier"
|
"github.com/jinzhu/copier"
|
||||||
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
type annualReportsLogic struct{}
|
type annualReportsLogic struct{}
|
||||||
@ -58,3 +60,19 @@ func (annualReportsLogic) Delete(req *reports.DeleteAnnualReportReq) (result *re
|
|||||||
result.Msg = "删除年度报告成功"
|
result.Msg = "删除年度报告成功"
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (annualReportsLogic) Display(req *reports.DisplayAnnualReportReq) (result *reports.DisplayAnnualReportResp, err error) {
|
||||||
|
result = &reports.DisplayAnnualReportResp{}
|
||||||
|
data, err := dao.AnnualReportsDao.Display()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
result.Item = lo.Map(data, func(m model.AnnualReport, i int) *reports.DisplayAnnualReportItem {
|
||||||
|
return &reports.DisplayAnnualReportItem{
|
||||||
|
FileName: m.FileName,
|
||||||
|
Date: m.Date,
|
||||||
|
FileUrl: m.FileUrl,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return result, nil
|
||||||
|
}
|
||||||
|
@ -4,8 +4,10 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"micro-document/api/members"
|
"micro-document/api/members"
|
||||||
"micro-document/internel/dao"
|
"micro-document/internel/dao"
|
||||||
|
"micro-document/internel/model"
|
||||||
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
type membersLogic struct{}
|
type membersLogic struct{}
|
||||||
@ -145,6 +147,24 @@ func (membersLogic) EditManagement(req *members.EditManagementReq) (result *memb
|
|||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 展示成员管理列表
|
||||||
|
func (membersLogic) DisplayManagement(req *members.DisplayManagementReq) (result *members.DisplayManagementResp, err error) {
|
||||||
|
result = &members.DisplayManagementResp{}
|
||||||
|
data, err := dao.MembersDao.GetDisplayManagementList()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
result.Item = lo.Map(data, func(m model.Management, i int) *members.DisplayManagementItem {
|
||||||
|
return &members.DisplayManagementItem{
|
||||||
|
Name: m.Name,
|
||||||
|
Image: m.Image,
|
||||||
|
Brief: m.Brief,
|
||||||
|
Introduction: m.Introduction,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return result, nil
|
||||||
|
}
|
||||||
|
|
||||||
// 编辑董事会
|
// 编辑董事会
|
||||||
func (membersLogic) EditBoardOfDirectors(req *members.EditBoardOfDirectorsReq) (result *members.EditBoardOfDirectorsResp, err error) {
|
func (membersLogic) EditBoardOfDirectors(req *members.EditBoardOfDirectorsReq) (result *members.EditBoardOfDirectorsResp, err error) {
|
||||||
result = &members.EditBoardOfDirectorsResp{}
|
result = &members.EditBoardOfDirectorsResp{}
|
||||||
@ -156,6 +176,23 @@ func (membersLogic) EditBoardOfDirectors(req *members.EditBoardOfDirectorsReq) (
|
|||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 展示董事会列表
|
||||||
|
func (membersLogic) DisplayBoardOfDirectors(req *members.DisplayBoardOfDirectorsReq) (result *members.DisplayBoardOfDirectorsResp, err error) {
|
||||||
|
result = &members.DisplayBoardOfDirectorsResp{}
|
||||||
|
data, err := dao.MembersDao.GetDisplayBoardOfDirectorsList()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
result.Item = lo.Map(data, func(m model.BoardOfDirectors, i int) *members.DisplayBoardOfDirectorItem {
|
||||||
|
return &members.DisplayBoardOfDirectorItem{
|
||||||
|
Name: m.Name,
|
||||||
|
Brief: m.Brief,
|
||||||
|
Introduction: m.Introduction,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return result, nil
|
||||||
|
}
|
||||||
|
|
||||||
// 编辑委员会
|
// 编辑委员会
|
||||||
func (membersLogic) EditCommitteeAppointments(req *members.EditCommitteeAppointmentsReq) (result *members.EditCommitteeAppointmentsResp, err error) {
|
func (membersLogic) EditCommitteeAppointments(req *members.EditCommitteeAppointmentsReq) (result *members.EditCommitteeAppointmentsResp, err error) {
|
||||||
result = &members.EditCommitteeAppointmentsResp{}
|
result = &members.EditCommitteeAppointmentsResp{}
|
||||||
@ -166,3 +203,21 @@ func (membersLogic) EditCommitteeAppointments(req *members.EditCommitteeAppointm
|
|||||||
result.Msg = "编辑委员会成功"
|
result.Msg = "编辑委员会成功"
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 展示委员会列表
|
||||||
|
func (membersLogic) DisplayCommitteeAppointments(req *members.DisplayCommitteeAppointmentsReq) (result *members.DisplayCommitteeAppointmentsResp, err error) {
|
||||||
|
result = &members.DisplayCommitteeAppointmentsResp{}
|
||||||
|
data, err := dao.MembersDao.GetDisplayCommitteeAppointmentsList()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
result.Item = lo.Map(data, func(m model.CommitteeAppointments, i int) *members.DisplayCommitteeAppointmentsItem {
|
||||||
|
return &members.DisplayCommitteeAppointmentsItem{
|
||||||
|
Name: m.Name,
|
||||||
|
AuditCommittee: m.AuditCommittee,
|
||||||
|
CompensationCommittee: m.CompensationCommittee,
|
||||||
|
NominatingCommittee: m.NominatingCommittee,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return result, nil
|
||||||
|
}
|
||||||
|
@ -4,9 +4,11 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"micro-document/api/reports"
|
"micro-document/api/reports"
|
||||||
"micro-document/internel/dao"
|
"micro-document/internel/dao"
|
||||||
|
"micro-document/internel/model"
|
||||||
util "micro-document/pkg/utils"
|
util "micro-document/pkg/utils"
|
||||||
|
|
||||||
"github.com/jinzhu/copier"
|
"github.com/jinzhu/copier"
|
||||||
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
type quarterlyReportsLogic struct{}
|
type quarterlyReportsLogic struct{}
|
||||||
@ -62,3 +64,21 @@ func (quarterlyReportsLogic) Delete(req *reports.DeleteQuarterlyReportReq) (resu
|
|||||||
result.Msg = "删除季度报告成功"
|
result.Msg = "删除季度报告成功"
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 季度报告展示列表
|
||||||
|
func (quarterlyReportsLogic) Display(req *reports.DisplayQuarterlyReportReq) (result *reports.DisplayQuarterlyReportResp, err error) {
|
||||||
|
result = &reports.DisplayQuarterlyReportResp{}
|
||||||
|
data, err := dao.QuarterlyReportsDao.Display()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
result.Item = lo.Map(data, func(m model.QuarterlyReport, i int) *reports.DisplayQuarterlyReportItem {
|
||||||
|
return &reports.DisplayQuarterlyReportItem{
|
||||||
|
FileName: m.FileName,
|
||||||
|
FileIntroduce: m.FileIntroduce,
|
||||||
|
Attachment: m.Attachment,
|
||||||
|
AttachmentName: m.AttachmentName,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return result, nil
|
||||||
|
}
|
||||||
|
6
pkg/msg/msg.go
Normal file
6
pkg/msg/msg.go
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package msg
|
||||||
|
|
||||||
|
const (
|
||||||
|
StatusOnline = 1 // 上架
|
||||||
|
StatusOffline = 2 // 下架
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user