:(

SQLSTATE[HY000]: General error: 1 near ")": syntax error

错误位置

FILE: /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 156

TRACE

#0 /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/Db/Driver.class.php(156): PDO->prepare('SELECT id,name,...')
#1 /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT id,name,...', false)
#2 /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /data/www/wwwroot/hzyilong.com/Application/Common/Common/function.php(380): Think\Model->select()
#4 /data/www/wwwroot/hzyilong.com/Application/Common/Common/function.php(103): getKeys(NULL)
#5 /data/www/wwwroot/hzyilong.com/Application/Common/Common/function.php(63): keysLink(NULL, '')
#6 /data/www/wwwroot/hzyilong.com/Application/Cn/Controller/ProductsController.class.php(14): sp_get_wsarticle()
#7 [internal function]: Cn\Controller\ProductsController->details()
#8 /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/App.class.php(163): ReflectionMethod->invoke(Object(Cn\Controller\ProductsController))
#9 /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/App.class.php(201): Think\App::exec()
#10 /data/www/wwwroot/hzyilong.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#11 /data/www/wwwroot/hzyilong.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#12 /data/www/wwwroot/hzyilong.com/index.php(36): require('/data/www/wwwro...')
#13 {main}