Browse Source

大屏Bug

zgg 2 tháng trước cách đây
mục cha
commit
795721b124
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      application/api/controller/screen/Order.php

+ 1 - 0
application/api/controller/screen/Order.php

@@ -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)