aa
This commit is contained in:
@@ -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) {
|
func getOrderStateCount(db *dao.DaoDB, cityCodes []int, vendorID, status int) (getManageStateOrderInfo *GetManageStateOrderInfo, err error) {
|
||||||
sqlParams := []interface{}{}
|
sqlParams := []interface{}{}
|
||||||
|
getManageStateOrderInfo = &GetManageStateOrderInfo{}
|
||||||
endTime := time.Now().AddDate(0, -3, 0)
|
endTime := time.Now().AddDate(0, -3, 0)
|
||||||
sql := `
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user