浏览代码

大屏Bug2

zgg 4 月之前
父节点
当前提交
831ff490b5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/api/controller/screen/Popup.php

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

@@ -68,6 +68,7 @@ class Popup 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)