diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index c21b7554a..4ba651d30 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -409,6 +409,7 @@ func getWhereSqlManage(cityCodes []int, jobTime, endTime time.Time, jobIDs []int func GetManageStatistics(db *DaoDB, cityCodes []int, jobTime time.Time, jobIDs []int) (getManageStatisticsResult *GetManageStatisticsResult, err error) { endTime := jobTime.AddDate(0, 0, 1) sqlParams := []interface{}{} + getManageStatisticsResult = &GetManageStatisticsResult{} sql := ` SELECT t1.count acceptCount, t2.count finish_count, t3.count cancel_count, t4.browse_count, t6.total_cash FROM