正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -125,7 +125,7 @@ class AdminStatisticsController extends AdminBaseController{ | @@ -125,7 +125,7 @@ class AdminStatisticsController extends AdminBaseController{ | ||
125 | 125 | ||
126 | public function getNote(){ | 126 | public function getNote(){ |
127 | $param=$this->request->param(); | 127 | $param=$this->request->param(); |
128 | - $data=Db::name('equipment')->where(['hospital'=>$param['hospital'],'is_delete'=>0,'note'=>['neq',null]])->group('note')->select()->toArray(); | 128 | + $data=Db::name('equipment')->where(['hospital'=>$param['hospital'],'is_delete'=>0])->whereNotNull('note')->group('note')->select()->toArray(); |
129 | return $data; | 129 | return $data; |
130 | } | 130 | } |
131 | 131 |
-
请 注册 或 登录 后发表评论