系统繁忙,点击返回
消息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 < 1715781376 AND g.promote_end_date > 1715781376 THEN g.promote_price WHEN g.real_promote_price != '' AND g.real_promote_start_date < 1715781376 AND g.real_promote_end_date > 1715781376 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 ('681') OR g.goods_id IN ('1182','4436','4438','4478','4480','4560','4561','4979','5028','5029','7827','7828') ) AND g.is_direct_pro = 1 AND g.goods_id IN ('579','644','953','971','996','997','1051','1052','1053','1054','1178','158','189','1224','1262','1456','1459','1477','1478','1479','1489','1490','1491','1492','1493','1547','1552','1576','1577','1580','1581','1610','1631','1633','1797','104','106','1085','1323','1349','1887','1913','1338','1333','1342','1870','1961','1408','1567','1569','1568','2026','2064','2063','2080','2083','2115','2192','2194','2254','2282','2292','2304','3092','3119','3120','3121','3122','3287','3686','3886','3896','4521','4529','5059','5061','5063','5064','5065','5067','5068','5069','5070','5538','6582','6581','6583','6584','6585','6665','6668','6669','6670','6671','6673','6675','6681','6685','6686','6687','6688','6689','7189','7551','7577','7580','7630','7642','7643','7725','5772','5763','7757','7940','7963','8196','8197','8401','8402','8403','8404','8410','8693','8664','8708','9283','9568','9571','9572','9715','9716','9718','9719','9695','9849','9850','10385','10920','10922','11556','11561','11559','11558','11563','11564','11565','11576','11577','11578','11585','11586','11589','11591','11592','11594','11595','12944','15249','15493','16085','16086','16087','16796','17443','17450','17451','17452','18074','18075','32670','32671') AND g.goods_id IN ('52','102','202','403','410','965','1087','1110','1111','1112','1113','1114','1115','1116','1124','1125','1138','1155','1156','1159','1160','1172','1173','1184','1183','1191','1195','1201','1203','1202','1269','1384','1386','1389','1390','1391','1392','1393','1404','1410','1429','1430','1431','1448','1449','1454','1455','1495','1534','1535','1536','1537','1538','1539','1542','1543','1544','1545','1549','1550','1559','1573','1578','1579','1604','1605','1616','1622','1644','1021','1503','1869','1356','1475','1476','1517','1497','1505','1500','1501','1502','1498','1499','1987','2023','2024','2025','2040','2041','2042','2835','2895','2896','2897','2898','2902','2903','3071','3186','3187','5977','5988','5991','5993','5996','5998','5999','6046','6051','6062','6063','6124','6153','6158','6209','6248','6452','6456','6543','6545','6547','6548','6549','6587','6740','6741','6742','7050','7053','7060','7119','7120','7234','7235','7236','7237','7774','7776','9720','10571','10833','10838','10842','10892','10897','10901','10918','16044','16048','16050','16051','16052','16055','16056','16717','16719','16720','16721','16722','16723','16724','16725','16726','16727','16728','16729','16730','16731','16732','16733','16734','16735','16736','16738','16739','16740','16741','16742','16744','16746','16747','16748','16749','16750','16752','16753','16754','16756','16757','16760','16761','16762','16773','16775','16776','16960','16961','16962','16963','16964','16965','16968','16970','16971','16973','16975','16977','16978','16979','16981','17427','17429','17432','17433','17434','17435','17437','17441','17442','32672','32673','32674') ORDER BY g.is_identity_c desc, salenum DESC错误Unknown column 'salenum' in 'order clause'代码1054