系统错误:sql语句执行失败select * from chapter_6 a left join chapter_content_6 b on a.book_id=b.book_id and a.chapter_id=b.chapter_id where (a.book_id=590 and a.chapter_id= and a.delete_time = 0) 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 'and a.delete_time = 0)' at line 1错误编码1064 2cms

sql语句执行失败select * from chapter_6 a left join chapter_content_6 b on a.book_id=b.book_id and a.chapter_id=b.chapter_id where (a.book_id=590 and a.chapter_id= and a.delete_time = 0) 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 'and a.delete_time = 0)' at line 1错误编码1064

应用:web 控制器:chapter 方法:read 参数:array(2) { [0]=> string(3) "590" [1]=> string(0) "" }
文件:/www/wwwroot/www.jingzhii.com/lib/database/mysqli.php
所在行:116

错误追踪:
文件:/www/wwwroot/www.jingzhii.com/lib/database/mysqli.php 行:143 lib\database\mysqli\query()
文件:/www/wwwroot/www.jingzhii.com/lib/orm/orm.php 行:388 lib\database\mysqli\getRow()
文件:/www/wwwroot/www.jingzhii.com/lib/orm/orm.php 行:408 lib\orm\orm\get_data_from_cache()
文件:/www/wwwroot/www.jingzhii.com/app/common/model/chapter.php 行:182 lib\orm\orm\find()
文件:/www/wwwroot/www.jingzhii.com/app/web/controller/chapter.php 行:69 app\common\model\chapter\getChapterContent()
文件: 行: app\web\controller\chapter\read()
文件:/www/wwwroot/www.jingzhii.com/lib/lib.php 行:126 \call_user_func_array()
文件:/www/wwwroot/www.jingzhii.com/lib/lib.php 行:88 lib\lib\mvc()
文件:/www/wwwroot/www.jingzhii.com/public/index.php 行:13 lib\lib\run()