MySQL 查询某字段包含本身id的信息

由于我使用了TP5框架,因此直接上语句吧 Db::table('fa_parkbean') ->where('deletetime', 'null') ->where('status', '=', '1') ->where("FIND_IN_SET($user_id,shoufei_user_ids) ") ->field('id,park_name') -
相关文章
相关标签/搜索