public boolean isShardingColumn ( final String columnName , final String tableName ) { for ( TableRule each : tableRules ) { if ( each . getLogicTable ( ) . equalsIgnoreCase ( tableName ) && isShardingColumn ( each , columnName ) ) { return true ; } } return false ; }
Judge is sharding column or not .