修改表格上传教师错误。
This commit is contained in:
1 parent
dbf63e3c5c
commit
dd9af7f47f
2 files changed
+10
-2
No files matched your search
@@ -523,7 +523,15 @@ class Index extends BaseController
|
||||
$sheet->setCellValue('A' . $i, $i - 3);
|
||||
$sheet->setCellValue('B' . $i, $md5::encrypt((string)$kh->id, 'dlbz'));
|
||||
$sheet->setCellValue('C' . $i, $bj->banjiTitle);
|
||||
$sheet->setCellValue('D' . $i, $kh->cjStudent->xingming);
|
||||
$sheet->setCellValue('D' . $i, $kh->cjStudent['xingming']);
|
||||
// if(isset($kh->cjStudent->xingming))
|
||||
// {
|
||||
// $sheet->setCellValue('D' . $i, $kh->cjStudent->xingming);
|
||||
// }else{
|
||||
// halt($kh->toArray());
|
||||
// $sheet->setCellValue('D' . $i, '学生已经被删除');
|
||||
// }
|
||||
|
||||
$i ++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user