diff --git a/business/model/dao/report.go b/business/model/dao/report.go index ca0e7542e..5fb620560 100644 --- a/business/model/dao/report.go +++ b/business/model/dao/report.go @@ -34,6 +34,7 @@ type StatisticsReportForOrdersList struct { OperatorName2 string `json:"operatorName2"` OperatorName3 string `json:"operatorName3"` + Address string "address" CityName string `json:"cityName"` Status int `json:"status"` Tel1 string `orm:"size(32);index" json:"tel1"` @@ -54,6 +55,7 @@ func GetStatisticsReportForOrders(db *DaoDB, storeIDs []int, fromDate time.Time, SELECT c.id store_id, c.name store_name, + c.address, s.order_counts, s.sale_price, s.actual_pay_price,