lgy vor 1 Tag
Ursprung
Commit
d69c790e95
1 geänderte Dateien mit 8 neuen und 1 gelöschten Zeilen
  1. 8 1
      jcjyhr/app/zskk/servies/PatientServies.php

+ 8 - 1
jcjyhr/app/zskk/servies/PatientServies.php

@@ -936,7 +936,6 @@ class PatientServies
         }
         $EXAM_REPORTS = $this->makeExamData($params['EXAM_REPORTS']);
         $report = $this->patientModel->getExamReport(['PATIENT_CODE'=>$information['PATIENT_CODE']],'*');
-        var_dump($EXAM_REPORTS);
         $report->save($EXAM_REPORTS);
         return 'success';
     }
@@ -945,6 +944,14 @@ class PatientServies
     {
         $RESULT_STATUS = $this->commonServies->getRESULT_STATUSByCode($report['RESULT_STATUS_CODE']);
         $report['RESULT_STATUS'] = $RESULT_STATUS;
+        if(empty($report['AUDITTIME']))
+        {
+            $report['AUDITTIME'] = null;
+        }
+        if(empty($report['STUDYTIME']))
+        {
+            $report['STUDYTIME'] = null;
+        }
         return $report;
     }