作者 何书鹏
1 个管道 的构建 通过 耗费 6 秒

bug修改

@@ -295,7 +295,6 @@ class Index extends Api @@ -295,7 +295,6 @@ class Index extends Api
295 // ->join('appointment c','c.doctor_id = a.id and c.date_time < '.$tomorrow_time.' and c.status in (1,2)','left') 295 // ->join('appointment c','c.doctor_id = a.id and c.date_time < '.$tomorrow_time.' and c.status in (1,2)','left')
296 ->where('b.id',null) 296 ->where('b.id',null)
297 ->where('c.id',null) 297 ->where('c.id',null)
298 - ->where('a.dept_ids','1')  
299 ->where("find_in_set({$dept_id},a.dept_ids)") 298 ->where("find_in_set({$dept_id},a.dept_ids)")
300 ->field('a.id') 299 ->field('a.id')
301 ->find(); 300 ->find();