韩盟盟 1 day ago
parent
commit
4a69aab34d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      neo4jApi/app/controller/PatientAuxiliary.php

+ 2 - 2
neo4jApi/app/controller/PatientAuxiliary.php

@@ -160,7 +160,7 @@ class PatientAuxiliary extends CommonTwoController
                 }
             }
 
-            if((isset($medicineProduction) && isset($inspection)) && $medicineProduction || $inspection){
+            if((isset($medicineProduction) && isset($inspection)) && (!empty($medicineProduction) || !empty($inspection))){
                 try {
                     if($medicineProduction){
                         // 调用detail方法
@@ -275,7 +275,7 @@ class PatientAuxiliary extends CommonTwoController
                 $result[] = [
                     'tag' => $record['tag'],  // auxiliary/knowledge/review
                     'name' => $record['name'],
-                    'ZSZZ' => $record['ZSZZ'],
+                    'zszz' => $record['zszz'],
                     'content' => json_decode($record['content'], true), // 解码JSON字符串为数组
                     'xb' => $record['xb'],
                     'nl' => $record['nl'],