Commit 518364cc authored by clone's avatar clone

bug

parent 3b5e2774
......@@ -383,6 +383,7 @@ class PerformanceService
foreach ($list as $key => $item) {
if ($is_store == 2) {
$fields = "a.name,b.store_name";
$where_["a.level"] = array('in', "20,40");
} else {
$fields = "c.name,b.store_name";
}
......
......@@ -705,8 +705,8 @@ class AAgents extends BaseModel
->join("a_store b", "a.store_id = b.id", "left")
->join("a_agents c", "a.store_id = c.store_id", "left")
->where($params)
->where('a.level', [ '=', 20 ], [ '=', 40 ], 'or')
->select();
// echo $this->getLastSql();
return $result;
}
......
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