|
@@ -174,6 +174,9 @@ class Application extends Base
|
|
|
} else {
|
|
|
$parent_hosp = explode(',',$hospital['parent_institution']);
|
|
|
foreach($parent_hosp as $v){
|
|
|
+ if(empty($v)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
$phname = DB::table("institution")->where('id',$v)->cache(300)->field(['id','name'])->find();
|
|
|
log::record('上级医院----'.json_encode($phname));
|
|
|
if(!isset($phname['id']) || empty($phname['id'])){
|