:(

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 ') LIMIT 1' at line 1

错误位置

FILE: /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 162

TRACE

#0 /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(162): PDOStatement->execute()
#1 /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(908): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/Model.class.php(761): Think\Db\Driver->select(Array)
#3 /data/home/qxu1587870138/htdocs/Application/Home/Controller/ChenggongController.class.php(60): Think\Model->find()
#4 [internal function]: Home\Controller\ChenggongController->index()
#5 /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/App.class.php(156): ReflectionMethod->invoke(Object(Home\Controller\ChenggongController))
#6 /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/App.class.php(194): Think\App::exec()
#7 /data/home/qxu1587870138/htdocs/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /data/home/qxu1587870138/htdocs/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /data/home/qxu1587870138/htdocs/index.php(39): require('/data/home/qxu1...')
#10 {main}