This commit is contained in:
邹宗楠
2025-05-08 10:22:33 +08:00
parent 782baf4d13
commit e251b0f606

View File

@@ -1692,7 +1692,7 @@ func StatisticsIncome(db *DaoDB, startTime, endTime time.Time, storeId int, bran
parma = append(parma, vendorId)
}
sql += ` GROUP BY t1.jx_store_id`
sql += ` GROUP BY t1.jx_store_id ORDER BY order_count DESC`
//sql2 := ` SELECT settle.id,COUNT(settle.vendor_order_id) order_count,settle.name name,
// SUM(settle.total_income) total_income,SUM(settle.jx_income) jx_income,