@@ -130,6 +130,7 @@ class Order extends Index
$map[] = ['del','=',0];
$lists = Db::name('orders')
->where($map)
+ ->where('dep_id','<>',0)
->field('count(*) as count,dep_id')
->group('dep_id')
->distinct(true)