lgy 1 week ago
parent
commit
3f7508d434
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

@@ -340,6 +340,12 @@ class Patient extends ZskkModel
         $model->save($data);
         $model->save($data);
     }
     }
 
 
+    public function updateReport($where, $update)
+    {
+        $model = new ExamReport();
+        $model->where($where)->update($update);
+    }
+
     public function delOldReport($where): void
     public function delOldReport($where): void
     {
     {
         $model = new ExamReport();
         $model = new ExamReport();