修改医生职称
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Services;
|
||||
|
||||
use App\Model\BasicAgreement;
|
||||
use App\Model\BasicBank;
|
||||
use App\Model\BasicDoctorTitle;
|
||||
use App\Model\BasicJob;
|
||||
use App\Model\BasicNation;
|
||||
use App\Model\DiseaseClass;
|
||||
@@ -346,4 +347,23 @@ class BasicDataService extends BaseService
|
||||
|
||||
return success($basic_agreement->toArray());
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取医生职称数据
|
||||
* @return array
|
||||
*/
|
||||
public function getDoctorTitle(): array
|
||||
{
|
||||
$params = array();
|
||||
|
||||
$fields = [
|
||||
'doctor_title_id',
|
||||
'doctor_title_name',
|
||||
];
|
||||
$basic_doctor_title = BasicDoctorTitle::getList($params,$fields);
|
||||
if (empty($basic_doctor_title)){
|
||||
return success();
|
||||
}
|
||||
return success($basic_doctor_title->toArray());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user