无法下订单

时间:2018-09-10 15:03:35

标签: magento2

下订单时出现以下错误

SQLSTATE [HY000]:常规错误:1137无法重新打开表:'catalog_product_index_price_temp',查询为:INSERT INTO catalog_product_index_price_temp SELECT eentity_idcgcustomer_group_idcwwebsite_id,IF(MIN(i.tax_class_id)IS NULL,0,MIN(i.tax_class_id))AS tax_class_id,NULL AS {{ 1}},NULL AS price,MIN(IF(le.required_options = 0,i.min_price,0))AS final_price,MAX(IF(le.required_options = 0,i.max_price, 0))AS min_price,NULL AS max_price来自tier_price AS catalog_product_entity左联接e AS catalog_product_link ON e.row_id = l.product_id AND l.link_type_id = 3交叉联接lcustomer_group交叉联接cgstore_website内联接cwstore_group在csg.group_id上= cw.default_group_id INNER JOIN csg AS store ON cs.store_id = csg.default_store_id INNER JOIN cs AS catalog_product_website ON pw.product_id = e.entity_id和pw.website_id = cw.website_id在LE.ENTITY_ID = l.linked_product_id和(LE.created_in <='1527833968'AND le.updated_in>'1527833968')上以pw的身份catalog_product_entity左加入le AS catalog_product_index_price_temp为ON,i.entity_id = l.linked_product_id和i.website_id = cw.website_id和i.cust omer_group_id = cg.customer_group_id WHERE(e.type_id ='sermons')AND(e.entity_id IN(15611))AND(e.created_in <='1527833968')AND(e.updated_in>'1527833968')GROUP BY {{ 1}}。ieentity_idcgcustomer_group_id进行重复密钥更新cw =值(website_id ),tax_class_id = VALUES(tax_class_idprice = VALUES(price),final_price = VALUES(final_price),{{1 }} = VALUES(min_price),min_price = VALUES(max_price)。

其他一些产品也会出现相同的错误。

0 个答案:

没有答案