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
1indexa.php18require(%s)
2plugin.php47include(%s)
3source/plugin/tom_tcqianggou/tom_tcqianggou.inc.php1eval()
4source/plugin/tom_tcqianggou/tom_tcqianggou.inc.php(1) : eval()'d code1include(%s)
5source/plugin/tom_tcqianggou/module/coupon.php125table_tom_tcqianggou_order->fetch_all_list(%s, %s, %d, %d)
6source/plugin/tom_tcqianggou/table/table_tom_tcqianggou_order.php45discuz_database::fetch_all(%s, Array)
7source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
8source/class/discuz/discuz_database.php142db_driver_mysql->query(%s, false, false)
9source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
10source/class/db/db_driver_mysql.php223break()
www.j011.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.