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