:(

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 sort desc,id asc' at line 1

错误位置

FILE: /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/Db/Driver.class.php  LINE: 337

TRACE

#0 /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/Db/Driver.class.php(337): PDOStatement->execute()
#1 /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/Db/Driver.class.php(1869): Think\Db\Driver->query('SELECT yongsy_s...', false)
#2 /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/Model.class.php(1157): Think\Db\Driver->select(Array)
#3 /data/home/byu3528140001/htdocs/Apps/Cn/Controller/TechController.class.php(331): Think\Model->select()
#4 [internal function]: Cn\Controller\TechController->caseList()
#5 /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/App.class.php(327): ReflectionMethod->invoke(Object(Cn\Controller\TechController))
#6 /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/App.class.php(403): Think\App::exec()
#7 /data/home/byu3528140001/htdocs/YongsyCORE/Library/Think/Think.class.php(239): Think\App::run()
#8 /data/home/byu3528140001/htdocs/YongsyCORE/ThinkPHP.php(193): Think\Think::start()
#9 /data/home/byu3528140001/htdocs/index.php(48): require('/data/home/byu3...')
#10 {main}