From cdf1c8de1fbfaa82ddd414e1b036fcec9b290c83 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 16 Jan 2024 17:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/project/controller/Project.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/project/controller/Project.php b/application/project/controller/Project.php index f7e5920..d8caf6d 100755 --- a/application/project/controller/Project.php +++ b/application/project/controller/Project.php @@ -632,7 +632,7 @@ class Project extends BasicApi if($date==''){ $date=date('Y-m-d H:i:s'); $end=date('Y-m-d H:i:s',time()-300); - $select=Db::name('positioning')->where(['member_code'=>$code])->whereTime('date',[$end,$date])->fetchSql(true)->column('positioning'); + $select=Db::name('positioning')->where(['member_code'=>$code])->whereTime('date',[$end,$date])->column('positioning'); }else{ $select=Db::name('positioning')->where(['member_code'=>$code])->whereBetweenTime('date',$date)->column('positioning'); }