消息MySQL Query Error
SQLSELECT g.is_hot,g.original_img,g.goods_id, g.goods_name, g.goods_name_style,g.goods_brief, g.city, g.district, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, g.goods_img2, RAND() AS rnd FROM `yinshuab_db`.`hunuo_goods` AS g LEFT JOIN `yinshuab_db`.`hunuo_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE is_on_sale = 1 AND is_delete = 0 AND cat_id IN () AND g.is_hot = 1 ORDER BY g.sort_order, g.last_update DESC LIMIT 8
错误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 g.is_hot = 1 ORDER BY g.sort_order, g.last_update DESC LIMIT 8' at line 1
代码1064