韩盟盟 před 2 dny
rodič
revize
4a69aab34d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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 {
                 try {
                     if($medicineProduction){
                     if($medicineProduction){
                         // 调用detail方法
                         // 调用detail方法
@@ -275,7 +275,7 @@ class PatientAuxiliary extends CommonTwoController
                 $result[] = [
                 $result[] = [
                     'tag' => $record['tag'],  // auxiliary/knowledge/review
                     'tag' => $record['tag'],  // auxiliary/knowledge/review
                     'name' => $record['name'],
                     'name' => $record['name'],
-                    'ZSZZ' => $record['ZSZZ'],
+                    'zszz' => $record['zszz'],
                     'content' => json_decode($record['content'], true), // 解码JSON字符串为数组
                     'content' => json_decode($record['content'], true), // 解码JSON字符串为数组
                     'xb' => $record['xb'],
                     'xb' => $record['xb'],
                     'nl' => $record['nl'],
                     'nl' => $record['nl'],