lgy 20 hours ago
parent
commit
5f2e827730
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/application/api/servies/butt/ButtService.php

+ 1 - 1
server/application/api/servies/butt/ButtService.php

@@ -2225,7 +2225,7 @@ class ButtService extends ZskkDefaultService {
         $report = $this->butt->getReportData(['exam_id'=>null,'imagenumber'=>$arr['imagenumber']]);
         if(!empty($report))
         {
-            $this->butt->updateReport(['id'=>$report['id']],['exam_id'=>$id]);
+            $this->butt->updateReport(['exam_id'=>$id],['id'=>$report['id']]);
             $this->butt->updateExam(['exam_status'=>9],$id);
         }
         return $id;