質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,11 +19,14 @@
|
|
19
19
|
↓
|
20
20
|
1つのZIPフォルダに3枚をまとめる
|
21
21
|
|
22
|
+
※現時点でグループごとに分かれての処理はできているが、
|
23
|
+
グループの人数分エクセルがでてしまう
|
24
|
+
|
22
25
|
|
23
26
|
### 発生している問題・エラーメッセージ
|
24
27
|
|
25
28
|
```
|
26
|
-
|
29
|
+
|
27
30
|
```
|
28
31
|
|
29
32
|
### 該当のソースコード
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
$writer->save($fullpath);
|
58
58
|
$zip->addFile($fullpath, $filepath);
|
59
59
|
|
60
|
-
}else if($dt['
|
60
|
+
}else if($dt['group'] == 2){
|
61
61
|
$sheet->setCellValue('Q5' ,$dt['group']);//group名
|
62
62
|
for($i=9,$j=0;$j<count($dt);$i++,$j++){
|
63
63
|
$sheet->setCellValue( 'A'.$i,($j+1));
|
@@ -70,7 +70,7 @@
|
|
70
70
|
$writer->save($fullpath);
|
71
71
|
$zip->addFile($fullpath, $filepath);
|
72
72
|
|
73
|
-
}else if($dt['
|
73
|
+
}else if($dt['group'] == 3){
|
74
74
|
$sheet->setCellValue('Q5' ,$dt['group']);//group名
|
75
75
|
for($i=9,$j=0;$j<count($dt);$i++,$j++){
|
76
76
|
$sheet->setCellValue( 'A'.$i,($j+1));
|