@@ -63,6 +63,10 @@ class Machine extends Api
$this->error('非法请求');
}
$list = \db('设备_基本资料')
+ ->where([
+ '使用部门' => ['<>',''],
+ 'sys_sbID' => ['<>','']
+ ])
->group('使用部门')
->column('rtrim(使用部门)');
$this->success('请求成功',$list);