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