作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

XIAOPAN

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