mybatis-plus使用FIND_IN_SET

xxxQueryWrapper.eq("is_deleted","0").apply(deptUser.getDeptId() != null,"dept_id = '"+deptUser.getDeptId()+"' or FIND_IN_SET ( dept_id , '"+deptUser.getDeptId()+"' )");
原文地址:https://www.cnblogs.com/lhxBlogs/p/15476923.html