diff --git a/app/student/model/Student.php b/app/student/model/Student.php index ab64c2b1..1bd16b63 100755 --- a/app/student/model/Student.php +++ b/app/student/model/Student.php @@ -268,7 +268,7 @@ class Student extends BaseModel // 整理数据 array_splice($stuinfo, 0, 4); # 删除标题行 $stuinfo = array_filter($stuinfo, function($q){ ## 过滤姓名、身份证号或班级为空的数据 - return $q[1] != null && strlen($q[3]) >=6 && $q[4] != null; + return $q[1] != null && strlen($q[3]) >0 && $q[4] != null; }); // 获取班级信息 @@ -417,10 +417,6 @@ class Student extends BaseModel if(!$result){ unset($list[$add_k]); } - - if (date('Y-m-d', strtotime($shengri)) != $shengri) { - unset($list[$add_k]); - } } // 获取去掉重复数据的数组