修复就诊人健康信息默认值,优化医生列表查询速度
This commit is contained in:
@@ -162,7 +162,9 @@ class DoctorController extends BaseAdminController
|
||||
return StoreDoctor::find()->select(['store_id'])->where([
|
||||
'su_id' => $m->id,
|
||||
'is_delete' => 0
|
||||
])->with(['store'])->asArray()->all();
|
||||
])->with(['store' => function ($query) {
|
||||
return $query->select(['name', 'id']);
|
||||
}])->asArray()->all();
|
||||
}
|
||||
],
|
||||
DoctorService::class => [
|
||||
|
||||
Reference in New Issue
Block a user