韩盟盟 2 ngày trước cách đây
mục cha
commit
4a69aab34d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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'],