$money_count = ShopOrders::find()
            ->where(['shop_user_id'=>$shop_user_id,'status'=>2,'shop_id'=>$shop_id])
            ->SUM('goods_price');

 

相关文章: