瀏覽代碼

大屏Bug

zgg 4 月之前
父節點
當前提交
795721b124
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)