lgy 1 day ago
parent
commit
1862893472
1 changed files with 6 additions and 0 deletions
  1. 6 0
      jcjyhr/app/zskk/model/Patient.php

+ 6 - 0
jcjyhr/app/zskk/model/Patient.php

@@ -281,6 +281,8 @@ class Patient extends ZskkModel
     {
         $model = new DelMedicalInformation();
         unset($data['ID']);
+        unset($data['CREATE_TIME']);
+        unset($data['UPDATE_TIME']);
         $model->save($data);
     }
 
@@ -306,6 +308,8 @@ class Patient extends ZskkModel
     {
         $model = new DelInspectReport();
         unset($data['ID']);
+        unset($data['CREATE_TIME']);
+        unset($data['UPDATE_TIME']);
         $model->save($data);
     }
 
@@ -328,7 +332,9 @@ class Patient extends ZskkModel
     public function saveRepeatLab($data)
     {
         $model = new DelLabData();
+        var_dump($data->toArray());
         $model->saveAll($data);
+        var_dump(1);die;
     }
 
     public function getBiInspect($where)