This commit is contained in:
巴掌 committed 2020-10-13 19:48:20 +08:00
1 parent e679492e10
commit 09777c88c8
37 files changed
+216 -458

No files matched your search

+3 -3
View File
@@ -558,9 +558,9 @@ class Index extends AdminBase
$sheet->setCellValue('D' . ($row + $k), $val['title']);
$sheet->setCellValue('E' . ($row + $k), $value[$val['lieming']]); # 得分
$sheet->setCellValue('F' . ($row + $k), $njtj['cj'][$val['lieming']]['avg']);
$sheet->setCellValue('G' . ($row + $k), $njtj['cj'][$val['lieming']]['max']);
$sheet->setCellValue('H' . ($row + $k), $njtj['cj'][$val['lieming']]['youxiu']);
$sheet->setCellValue('I' . ($row + $k), $njtj['cj'][$val['lieming']]['jige']);
$sheet->setCellValue('G' . ($row + $k), $njtj['cj'][$val['lieming']]['youxiu']);
$sheet->setCellValue('H' . ($row + $k), $njtj['cj'][$val['lieming']]['jige']);
$sheet->setCellValue('I' . ($row + $k), $njtj['cj'][$val['lieming']]['max']);
$sheet->setCellValue('J' . ($row + $k), $njtj['cj'][$val['lieming']]['sifenwei'][0]);
$sheet->setCellValue('K' . ($row + $k), $njtj['cj'][$val['lieming']]['sifenwei'][1]);
$sheet->setCellValue('L' . ($row + $k), $njtj['cj'][$val['lieming']]['sifenwei'][2]);
+3 -3
View File
@@ -246,15 +246,15 @@ class Tongji extends BaseModel
$zws = 0;
$cnt = count($arr);
if ($cnt === 1) {
if ($cnt = 1) {
$zws = $arr[0];
}elseif ($cnt > 1) {
$mod = $cnt % 2;
if ($mod == 0) {
$i = $cnt / 2;
$zws = ($arr[$i - 1] + $arr[$i]) / 2;
$zws = ($arr[$i] + $arr[$i + 1]) / 2;
}else{
$i = ($cnt - 1) / 2;
$i = ($cnt + 1) / 2;
$zws = $arr[$i];
}
}else{
+6 -1
View File
@@ -1010,12 +1010,17 @@ class OneStudentChengji extends BaseModel
{
if(strlen($fu) > 0)
{
$py = $py . $ling . ',' . $fu . '。';
$py = $py . $ling . ',' . $fu;
}else{
$py = $py . $ling . '。';
}
}
if(strlen($fu) > 0)
{
$py = $py . $fu . '。';
}
return $py;
}
Loaded 3 of 37 files, more files were not shown because too many files have changed in this diff. Show more