private SqlSession getSqlSessionForStatement(String statement, List<Shard> shardsToConsider) {
Shard shard = getShardForStatement(statement, shardsToConsider);
if (shard == null) {
return null;
}
return shard.establishSqlSession();
}
/**
* 将虚拟分区转化为物理分区
*/