cauchy6317: [code=java] private void recursionPlainSelect(Statement statement, PlainSelect plainSelect) { String mainTableName = ((Table) ()).getName();Expression where = (); if (where == null) ((statement, mainTableName)); else ((statement, mainTableName, ())); for (SelectItem selectItem : ()) { if (selectItem instanceof SelectExpressionItem) { Expression expression = ((SelectExpressionItem) selectItem).getExpression(); if (expression instanceof SubSelect) { SelectBody selectBody = ((SubSelect) expression).getSelectBody(); recursionPlainSelect(statement, (PlainSelect) selectBody);}}} if (where instanceof BinaryExpression) recursionWhere(statement, (BinaryExpression) where); } [/code]
k8s node notready
Mybatis: multi-tenant sql-interceptor 系统多租户实现