系统繁忙,点击返回
消息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 < 1715643656 AND g.promote_end_date > 1715643656 THEN g.promote_price WHEN g.real_promote_price != '' AND g.real_promote_start_date < 1715643656 AND g.real_promote_end_date > 1715643656 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 ('746') OR g.goods_id IN ('2053','2054','2055','3053','3059','3635','3636','3637','3638','3639','3649','3975','4037','4372','4392','4465','4492','4498','4500','4502','4505','4506','4508','4533','4867','4913','4914','4915','4916','4943','4945','4946','4978','5008','5009','5012','5093','5094','5095','5096','7587','8434','9381','9382','9383','9384','9449','9454','9455','9458','9460','9461','9467','9470','9473','9476','9477','9478','9479','9480','9481','9724','9821','9844','9845','9846','9847','10763','10764','10765','10766','10767','11377','11392','15252','16092','16093','16114','16187','16189') )AND g.brand_id=1520 AND g.is_direct_pro = 1 AND g.goods_id IN ('3035','3053','3637','3638','3920','3921','3922','3923','3928','4207','4217','4403','4404','4405','4406','4407','4980','4981','4982','4983','4985','4986','4987','4988','4989','4990','4991','4992','4993','4994','4995','4996','4997','4998','4999','5000','5001','5002','5003','5004','5005','5006','7803','8430','8433','8434','9179','9180','9181','9185','9187','9188','9189','9381','9382','9383','9384','9448','9447','9445','9450','9451','9452','9453','10598','11377','11392','12837','12896','15462','15662','15661','15660','16092','16093','18592','18593','18594','18595','18596','18597','18598','18599','18600','18601','18602','18603','18604','18605','18606','18607','18608','18609','18610','18611','18612','18613','18614','18615','18616','18617','18618') ORDER BY g.is_identity_c desc, salenum DESC错误Unknown column 'salenum' in 'order clause'代码1054