摘要: orderBy(\DB::Raw('case when avatar_id = 0 then 0 else 1 end')) Doctor::join('users', 'doctors.user_id', '=', 'users.id') ->with('user') ->withCount('services', 'notebooks') ->orderByDesc('notebooks_co 阅读全文
posted @ 2019-09-30 18:49 jzfan 阅读(1243) 评论(0) 推荐(0) 编辑