lgy 2 days ago
parent
commit
6d65424aea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jcjyhr/app/admin/controller/hospital/Hrpatient.php

+ 1 - 1
jcjyhr/app/admin/controller/hospital/Hrpatient.php

@@ -87,7 +87,7 @@ class Hrpatient extends Backend
 
     private function handleItemArrayString($val, $status, $_search): string {
         // halt($val, $status, $_search);
-        if(!$val) {
+        if(!empty($val)) {
 //            return str_replace('(是)', '', $val);
         }else{
             return '';