系统繁忙,点击返回
消息MySQL Query ErrorSQLSELECT g.goods_id,g.cat_id, g.goods_name, g.goods_name_style, g.click_count, g.goods_number, g.market_price,g.consignor_id, g.is_new, g.is_best, g.is_hot, g.is_limit, g.is_shipping, g.shop_price AS org_price, g.mappoint,g.is_act_field,g.is_seckill_act_field, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price,g.is_promote,g.is_real_promote, g.promote_price,g.real_promote_price, CASE WHEN g.promote_price != '' AND g.promote_start_date < 1713503510 AND g.promote_end_date > 1713503510 THEN g.promote_price WHEN g.real_promote_price != '' AND g.real_promote_start_date < 1713503510 AND g.real_promote_end_date > 1713503510 THEN g.real_promote_price ELSE shop_price END AS shop_p, g.goods_type, g.promote_start_date, g.promote_end_date,g.real_promote_start_date, g.real_promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, g.supplier_id FROM `haoduobaduo`.`ecs_goods` AS g LEFT JOIN `haoduobaduo`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1755','1783','2113','2080','1769','1772','2090','1773','1770','1756','1765','2201','1768','1758','1762','1766','2296','1760','1764','2200','1767','1757','1761','1774','2092','1776','1779','2283','2087','1777','1780','2220','2223','1778','2257','2221','2065','2066','2067','1781','2258','2222','2140','2091','2244','2070','2071','2072') OR g.goods_id IN ('7388','7811','7883','16100','16127','16128','16129','16130','16131','17143','17144','17150','17152','17561','36532') )AND g.brand_id=376 AND g.is_direct_pro = 1 ORDER BY g.is_identity_c desc, salenum DESC错误Unknown column 'salenum' in 'order clause'代码1054