修改班级成绩显示名称
This commit is contained in:
1 parent
a01923f791
commit
9cde8046b6
1 file changed
+2
-2
@@ -68,7 +68,7 @@ class Tongji extends Model
|
||||
->when(!empty($school),function($query) use($school){
|
||||
$query->where('school','in',$school);
|
||||
})
|
||||
->append(['title','schooljian'])
|
||||
->append(['numTitle','schooljian'])
|
||||
->select();
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ class Tongji extends Model
|
||||
$i = 0;
|
||||
foreach ($bjids as $key => $value) {
|
||||
$data[$i]['id'] = $i+1;
|
||||
$data[$i]['title'] = $value['schooljian'].$value['title'];
|
||||
$data[$i]['title'] = $value['schooljian'].$value['numTitle'];
|
||||
$bjlist = $cjlist->where('banji',$value['id']);
|
||||
$data[$i]['data'] = $this->tongji($bjlist,$canshu);
|
||||
|
||||
|
||||
Reference in new issue
Block a user