|
|
@@ -26,7 +26,7 @@ func GetFohowTotalOrderCount() int64 {
|
|
|
|
|
|
var ret Ret
|
|
|
|
|
|
- sql := fmt.Sprintf("select sum(total_price) as total from orders where status not in ('processing','complete','dispatch')")
|
|
|
+ sql := fmt.Sprintf("select sum(total_price) as total from orders where status in ('processing','complete','dispatch')")
|
|
|
|
|
|
err := o.Raw(sql).QueryRow(&ret)
|
|
|
|