This commit is contained in:
苏尹岚
2021-01-06 15:32:32 +08:00
parent 57cb826087
commit d32a52c36e

View File

@@ -329,6 +329,7 @@ func getStoreStatusCount(db *dao.DaoDB, cityCodes []int, vendorID, status int) (
func getOrderStateCount(db *dao.DaoDB, cityCodes []int, vendorID, status int) (getManageStateOrderInfo *GetManageStateOrderInfo, err error) {
sqlParams := []interface{}{}
getManageStateOrderInfo = &GetManageStateOrderInfo{}
endTime := time.Now().AddDate(0, -3, 0)
sql := `
SELECT SUM(b.actual_pay_price) actual_pay_price, SUM(b.total_shop_money) total_shop_money, SUM(IFNULL(c.desired_fee, 0)) desired_fee