From 97fbb4401897fa018fda108463937e68520826e4 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Wed, 5 Jun 2024 10:39:00 +0800 Subject: [PATCH] update --- app/adminapi/logic/jxgl/OaSelfExamineLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/adminapi/logic/jxgl/OaSelfExamineLogic.php b/app/adminapi/logic/jxgl/OaSelfExamineLogic.php index 4b4d5abce..7ec92ca1b 100644 --- a/app/adminapi/logic/jxgl/OaSelfExamineLogic.php +++ b/app/adminapi/logic/jxgl/OaSelfExamineLogic.php @@ -171,7 +171,7 @@ class OaSelfExamineLogic extends BaseLogic $data['examine_type_text'] = $data->examine_type_text; $data['total_score'] = OaSelfExamineDetail::where('self_examine_id',$data['id'])->sum('score'); $data['total_self_score'] = OaSelfExamineDetail::where('self_examine_id',$data['id'])->sum('self_score'); - $data['detail'] = OaSelfExamineDetail::field('self_examine_id,self_score,examine_item,score,examine_desc')->where('self_examine_id',$data['id'])->select()->toArray(); + $data['detail'] = OaSelfExamineDetail::field('id,self_examine_id,self_score,examine_item,score,examine_desc')->where('self_examine_id',$data['id'])->select()->toArray(); return $data->toArray(); } } \ No newline at end of file