注释迷之代码
This commit is contained in:
parent
56ac22e87b
commit
8a6a46b116
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user