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 'ORDER BY id DESC LIMIT 0,1' at line 1
SELECT * FROM tom_tcrenzheng_company WHERE 1 AND user_id = ORDER BY id DESC LIMIT 0,1

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/tom_tczhaobiao/tom_tczhaobiao.inc.php1407table_tom_tcrenzheng_company->fetch_all_list(%s, %s, %d, %d)
3source/plugin/tom_tcrenzheng/table/table_tom_tcrenzheng_company.php32discuz_database::fetch_all(%s, Array)
4source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php142db_driver_mysqli->query(%s, false, false)
6source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt(%s, %d, %s)
7source/class/db/db_driver_mysqli.php223break()
tutou.vip 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.