update
This commit is contained in:
parent
cc9063fb37
commit
97fbb44018
@ -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();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user