Commit 7a7a3d5f by feixiang

query重构

parent 7193c593
......@@ -31,8 +31,9 @@ class Query
$collector = SplitCollector::getCollector();//分表搜集器
if ( isset($collector['map']) && is_array($collector['map'])) {
$map = array_flip($collector['map']);
}
//如果是实体且为分表实体
if (strpos($tableName, '\\') !== false && isset($collector[$tableName])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment