初始化项目

This commit is contained in:
2025-12-06 15:24:30 +08:00
parent 88a2753211
commit fd08b8925f
59 changed files with 2456 additions and 447 deletions

View File

@@ -5,8 +5,8 @@ import (
"gitee.com/red-future---jilin-g/common/http"
"cidService/model/dto"
"cidService/service"
"cidservice/model/dto"
"cidservice/service"
)
type report struct{}
@@ -31,12 +31,14 @@ func (c *report) List(ctx context.Context, req *dto.ListReportReq) (res *dto.Lis
// Update 更新报表
func (c *report) Update(ctx context.Context, req *dto.UpdateReportReq) (res *http.ResponseEmpty, err error) {
err = service.Report.Update(ctx, req)
res = &http.ResponseEmpty{}
return
}
// Delete 删除报表
func (c *report) Delete(ctx context.Context, req *dto.DeleteReportReq) (res *http.ResponseEmpty, err error) {
err = service.Report.Delete(ctx, req)
res = &http.ResponseEmpty{}
return
}
@@ -48,5 +50,6 @@ func (c *report) Download(ctx context.Context, req *dto.DownloadReportReq) (res
// Generate 生成报表
func (c *report) Generate(ctx context.Context, req *dto.GenerateReportReq) (res *http.ResponseEmpty, err error) {
err = service.Report.Generate(ctx, req)
res = &http.ResponseEmpty{}
return
}