forked from free-lancers/electricity_bill_calc_service
feat(report):完成报表中园区概况的试计算功能。
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user