修改已录成绩数全是0的错误
This commit is contained in:
1 parent
dd9af7f47f
commit
c3b2d900c4
2 files changed
+2
-2
No files matched your search
@@ -10,10 +10,11 @@ class Tongji extends BaseModel
|
||||
// 统计成绩
|
||||
public function tongjiCnt($cj = array(), $subject_id)
|
||||
{
|
||||
// halt($cj);
|
||||
$data = array();
|
||||
// 循环统计各学科成绩
|
||||
foreach ($subject_id as $key => $value) {
|
||||
$cjcol = array_column($cj, $value['lieming']);
|
||||
$cjcol = array_column($cj, $value['lieming'] . 'defen');
|
||||
|
||||
$cjcol = array_filter($cjcol, function($item){
|
||||
return $item != null;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
Options +FollowSymlinks -Multiviews
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
|
||||
|
||||
Reference in new issue
Block a user