Commit 488d0b21 by feixiang

query重构

parent b33585b0
...@@ -31,7 +31,7 @@ class Query ...@@ -31,7 +31,7 @@ class Query
$collector = SplitCollector::getCollector();//分表搜集器 $collector = SplitCollector::getCollector();//分表搜集器
if ( isset($collector['map']) && is_array($collector['map'])) { if ( $collector['map'] !== null && is_array($collector['map'])) {
$map = array_flip($collector['map']); $map = array_flip($collector['map']);
} }
......
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