:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and addtime> "" ) ORDER BY addtime desc LIMIT 1' at line 1

错误位置

FILE: D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php(930): Think\Db\Driver->query('SELECT `id`,`ti...', false)
#2 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#3 D:\wwwroot\www.autoserve.com.cn\Apps\Home\Controller\ArticleController.class.php(113): Think\Model->select()
#4 [internal function]: Home\Controller\ArticleController->show()
#5 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\ArticleController))
#6 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#7 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#8 D:\wwwroot\www.autoserve.com.cn\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#9 D:\wwwroot\www.autoserve.com.cn\index.php(48): require('D:\\wwwroot\\www....')
#10 {main}