mybatis-plus使用FIND_IN_SET

2023-04-22,

xxxQueryWrapper.eq("is_deleted","0").apply(deptUser.getDeptId() != null,"dept_id = '"+deptUser.getDeptId()+"' or FIND_IN_SET ( dept_id , '"+deptUser.getDeptId()+"' )");

mybatis-plus使用FIND_IN_SET的相关教程结束。

《mybatis-plus使用FIND_IN_SET.doc》

下载本文的Word格式文档,以方便收藏与打印。