|
...
|
...
|
@@ -32,7 +32,7 @@ class SxBasement extends Frontend |
|
|
|
->field('a.id,a.station_name,count(sa.id) as appoint_count')
|
|
|
|
->join('fa_station_appointment sa','a.id = sa.station_id','LEFT')
|
|
|
|
// ->where(['a.school_id'=>$this->auth->school_id])
|
|
|
|
->where(['a.school_id'=>$this->school_id])
|
|
|
|
->where(['a.school_id'=>$this->school_id,'a.status' => 1])
|
|
|
|
->group('a.id')
|
|
|
|
->select();
|
|
|
|
//入驻公司
|
...
|
...
|
|