Discuz! info: MySQL Query Error

Time: 2018-7-22 1:46am
Script: /bbs/plugin.php

SQL: select * from cdb_stock where stockid=
Error: 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 '' at line 1
Errno.: 1064