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); }