report

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportService

type ReportService struct {
	// contains filtered or unexported fields
}

ReportService user service

func NewReportService

func NewReportService(reportRepo report_common.ReportRepo,
	objectInfoService *object_info.ObjService,
) *ReportService

NewReportService new report service

func (*ReportService) AddReport

func (rs *ReportService) AddReport(ctx context.Context, req *schema.AddReportReq) (err error)

AddReport add report

func (*ReportService) GetReportTypeList

func (rs *ReportService) GetReportTypeList(ctx context.Context, lang i18n.Language, req *schema.GetReportListReq) (
	resp []*schema.GetReportTypeResp, err error,
)

GetReportTypeList get report list all

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL