mybatis 条件查询
queryWrapper.apply( 入参 != null,"FIND_IN_SET ('"+ 入参 +"', 字段名 )");
this.list(new QueryWrapper<SysDeptEntity>().apply(id != null, "FIND_IN_SET ('" + id + "',ancestors)"));
mybatis 条件查询
queryWrapper.apply( 入参 != null,"FIND_IN_SET ('"+ 入参 +"', 字段名 )");
this.list(new QueryWrapper<SysDeptEntity>().apply(id != null, "FIND_IN_SET ('" + id + "',ancestors)"));