Fatal error: Uncaught exception 'Think\Exception' with message '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 desc LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `ws_case` WHERE ( id< ) ORDER BY id desc LIMIT 1 ' in /www/wwwroot/www.yzmsj.com/ThinkPHP/Common/functions.php:102
Stack trace:
#0 /www/wwwroot/www.yzmsj.com/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /www/wwwroot/www.yzmsj.com/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /www/wwwroot/www.yzmsj.com/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /www/wwwroot/www.yzmsj.com/ThinkPHP/Library/Think/Model.class.php(759): Think\Db\Driver->select(Array)
#4 /www/wwwroot/www.yzmsj.com/ymsj/Home/Controller/CaseController.class.php(47): Think\Model->find()
#5 [internal function]: Home\Controller\CaseController->detail()
#6 /www/wwwroot/www.yzmsj in /www/wwwroot/www.yzmsj.com/ThinkPHP/Common/functions.php on line 102