feat(report):完成报表中园区概况的试计算功能。

This commit is contained in:
徐涛
2022-08-21 13:39:57 +08:00
parent 9e6914c787
commit 957eb445b5
3 changed files with 30 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ func (_ReportService) RetreiveReportIndex(rid string) (*model.Report, error) {
func (_ReportService) RetreiveReportSummary(rid string) (*model.ReportSummary, error) {
var summary = new(model.ReportSummary)
_, err := global.DBConn.ID(rid).Get(summary)
_, err := global.DBConn.ID(rid).NoAutoCondition().Get(summary)
if err != nil {
return nil, err
}