Commit 80b5c64b authored by hujun's avatar hujun

去重

parent 2b9d9cfc
...@@ -1416,6 +1416,7 @@ class AAgents extends BaseModel ...@@ -1416,6 +1416,7 @@ class AAgents extends BaseModel
->alias('a') ->alias('a')
->join('a_site b', 'a.site_id=b.id', 'left') ->join('a_site b', 'a.site_id=b.id', 'left')
->where($where) ->where($where)
->group('a.site_id')
->select(); ->select();
} }
......
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