修复在mysql5.7以上出现的错误。

This commit is contained in:
小松树 committed 2019-09-26 13:45:03 +08:00
1 parent 052485ad6c
commit 61b0c3742a
8 files changed
+64 -58

No files matched your search

@@ -64,6 +64,7 @@ class Tongji extends Base
// 统计成绩
$tj = new TJ;
$data = $tj->tjBanji($src['kaoshi'],$src['nianji'],$src['school'],$src['paixu']);
+1
View File
@@ -305,6 +305,7 @@ class Tongji extends Model
'school'=>$value->cj_school->jiancheng,
'chengji'=>$temp
];
}
+2 -1
View File
@@ -230,6 +230,7 @@ function upload($list,$file,$isSave=false)
// 实例化文件数据模型
$field = new \app\system\model\Fields;
// 移动到框架应用根目录/uploads/ 目录下
$info = $file->move($myrul.$list['serurl']);
@@ -242,7 +243,6 @@ function upload($list,$file,$isSave=false)
}
// 成功上传后 获取上传信息
$list['category'] = $info->getExtension();
$list['url'] = $list['serurl'].$info->getSaveName();
@@ -251,6 +251,7 @@ function upload($list,$file,$isSave=false)
$list['userid'] = session('userid');
$list['oldname'] = $info->getInfo('name');
$list['fieldsize'] = $info->getInfo('size');
// $list['bianjitime'] = Null;
// 如果需要保存文件
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more