From 8a6a46b1164f587e64419f27fa948637a3337c0c Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 1 Dec 2020 22:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=BF=B7=E4=B9=8B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hyhproject/common/model/UserTrees.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyhproject/common/model/UserTrees.php b/hyhproject/common/model/UserTrees.php index 812e63b..cd31e3d 100755 --- a/hyhproject/common/model/UserTrees.php +++ b/hyhproject/common/model/UserTrees.php @@ -54,7 +54,7 @@ class UserTrees extends Base public static function realGetUsersHelpSaleNum($fromUsers, $level){ $count = DB::table("hyh_orders")->where("userId='$fromUsers' and helpUserLevel='$level' and orderStatus=2")->sum("helpGetCount"); - $count -= DB::table("hyh_orders")->where("helpUserId='$fromUsers' and helpUserLevel='$level' and orderStatus=2")->sum("helpGetCount2"); +// $count -= DB::table("hyh_orders")->where("helpUserId='$fromUsers' and helpUserLevel='$level' and orderStatus=2")->sum("helpGetCount2"); return round($count, 2); }