注释迷之代码

This commit is contained in:
Jerry Yan 2020-12-01 22:18:42 +08:00
parent 56ac22e87b
commit 8a6a46b116

View File

@ -54,7 +54,7 @@ class UserTrees extends Base
public static function realGetUsersHelpSaleNum($fromUsers, $level){ 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("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); return round($count, 2);
} }