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 ') ORDER BY id asc LIMIT 1' at line 1

错误位置

FILE: /alidata/www/iotsupport/Tplib/Library/Think/Db/Driver.class.php  LINE: 173

TRACE

#0 /alidata/www/iotsupport/Tplib/Library/Think/Db/Driver.class.php(173): PDOStatement->execute()
#1 /alidata/www/iotsupport/Tplib/Library/Think/Db/Driver.class.php(941): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /alidata/www/iotsupport/Tplib/Library/Think/Model.class.php(778): Think\Db\Driver->select(Array)
#3 /alidata/www/iotsupport/Apps/Home/Controller/GongdanController.class.php(49): Think\Model->find()
#4 [internal function]: Home\Controller\GongdanController->view()
#5 /alidata/www/iotsupport/Tplib/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\GongdanController))
#6 /alidata/www/iotsupport/Tplib/Library/Think/App.class.php(202): Think\App::exec()
#7 /alidata/www/iotsupport/Tplib/Library/Think/Think.class.php(120): Think\App::run()
#8 /alidata/www/iotsupport/Tplib/ThinkPHP.php(97): Think\Think::start()
#9 /alidata/www/iotsupport/index.php(24): require('/alidata/www/io...')
#10 {main}