房间小时榜
This commit is contained in:
@@ -38,6 +38,7 @@ class RoomHourRanking extends Model
|
||||
->field('a.id as room_id,a.room_name,a.label_id,a.room_cover,IFNULL(sum(b.total_price), 0) as total_price,c.label_icon')
|
||||
->where('a.room_status', 1) // 只统计正常状态的房间
|
||||
->where('a.apply_status', 2) // 只统计审核通过的房间
|
||||
->where('a.type_id', '<>', 6)
|
||||
->group('a.id')
|
||||
->order('total_price', 'desc')
|
||||
->page($page, $page_limit)
|
||||
|
||||
Reference in New Issue
Block a user