This commit is contained in:
苏尹岚
2020-12-14 14:50:00 +08:00
parent 267186da39
commit e9f7afa492

View File

@@ -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,