考试权限划分

This commit is contained in:
嗯~ committed 2021-05-10 16:19:29 +08:00
1 parent 023bc596cb
commit b0cc71eaed
15 files changed
+130 -32

No files matched your search

+6 -9
View File
@@ -485,17 +485,14 @@ class Index extends AdminBase
$bjkh = sortArrByManyField($bjkh, 'shoupin', SORT_ASC);
foreach ($bjkh as $k => $kh) {
$sheet->setCellValue('A' . $i, $i - 3);
// if(isset($kh->cjStudent->xingming))
// {
// $sheet->setCellValue('D' . $i, $kh->cjStudent->xingming);
// }else{
// halt($kh->toArray());
// $sheet->setCellValue('D' . $i, '学生已经被删除');
// }
if(isset($kh['cjStudent']['xingming']))
{
$sheet->setCellValue('D' . $i, $kh['cjStudent']['xingming']);
}else{
$sheet->setCellValue('D' . $i, 'Null');
}
$sheet->setCellValue('B' . $i, $md5::encrypt((string)$kh['id'], 'dlbz'));
$sheet->setCellValue('C' . $i, $bj['banjiTitle']);
$sheet->setCellValue('D' . $i, $kh['cjStudent']['xingming']);
$i ++;
}
}