From 53a44baec4a86be82bcda3b3642fcb8f65dd7747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Wed, 5 Jan 2022 14:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8B=E8=BD=BD=E7=8F=AD?= =?UTF-8?q?=E7=BA=A7=E6=88=90=E7=BB=A9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/controller/Index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/chengji/controller/Index.php b/app/chengji/controller/Index.php index 6d163454..555770af 100755 --- a/app/chengji/controller/Index.php +++ b/app/chengji/controller/Index.php @@ -344,7 +344,7 @@ class Index extends AdminBase } $right_i = $i; - // 循环写出成绩及个人信息 + // 循环写出个人信息和成绩 $i = 0; $row++; $row_temp = $row; @@ -368,6 +368,8 @@ class Index extends AdminBase $sheet->setCellValue($colname[$i] . $row_temp, $value[$val['lieming'] . $tjxml_v['biaoshi']]); $i++; } + }else{ + $i++; } } $sheet->setCellValue($colname[$i] . $row_temp, $value['avg']);