$xk_whitelist = DB::table('mld_xk_whitelist')
->where(['kh_type' => 1, 'cstm_id' => $member_info->cstm_id])
->orderByRaw(DB::raw('FIELD(type, 2,3,0,1) asc'))
->get()
->toArray();
laravel orderBy 自定义排序
最新推荐文章于 2023-02-20 15:25:42 发布