445
This commit is contained in:
@@ -895,10 +895,13 @@ class DoctorInquiryService extends BaseService
|
||||
if (!empty($doctor_config_follow_package)) {
|
||||
$params = array();
|
||||
$params['follow_package_id'] = $doctor_config_follow_package['follow_package_id'];
|
||||
$doctor_config_follow_package_item = DoctorConfigFollowPackageItem::getList($params);
|
||||
if (!empty($doctor_config_follow_package_item)) {
|
||||
$doctor_config_follow_package_item['monthly_frequency'] = $doctor_config_follow_package['monthly_frequency'];
|
||||
$result = $doctor_config_follow_package_item->toArray();
|
||||
$doctor_config_follow_package_items = DoctorConfigFollowPackageItem::getList($params);
|
||||
if (!empty($doctor_config_follow_package_items)) {
|
||||
foreach ($doctor_config_follow_package_items as &$doctor_config_follow_package_item){
|
||||
$doctor_config_follow_package_item['monthly_frequency'] = $doctor_config_follow_package['monthly_frequency'];
|
||||
$result[] = $doctor_config_follow_package_item->toArray();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user