diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 922ffbeb4..9bcdae958 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -1830,6 +1830,7 @@ class QueryController extends BaseController $subQuery = M('user_play_info', 'tab_') ->field("*,$sqlCost as recharge_cost,$sqlCount as recharge_count,$sqlTodayCost as recharge_cost_today") ->where($map) + ->having('recharge_cost > 0') ->order('play_time desc') ->buildSql(); $query = M()->field(' * ')