Discuz! Database Error

(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 'AND order_status=1 ORDER BY id DESC LIMIT 0,6' at line 1
SELECT * FROM tom_tcqianggou_order WHERE 1 AND goods_id= AND order_status=1 ORDER BY id DESC LIMIT 0,6

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/tom_tcqianggou/tom_tcqianggou.inc.php1eval()
3source/plugin/tom_tcqianggou/tom_tcqianggou.inc.php(1) : eval()'d code1call_user_func(Array, %s, %s, %d, %d)
4table_tom_tcqianggou_order->fetch_all_list(%s, %s, %d, %d)
5source/plugin/tom_tcqianggou/table/table_tom_tcqianggou_order.php32discuz_database::fetch_all(%s, Array)
6source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
7source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
8source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
9source/class/db/db_driver_mysql.php223break()
yqxfd.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.