SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000710s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 309 LIMIT 1 [ RunTime:0.000534s ]
UPDATE `tp_goods` SET `click_count` = 62 WHERE `goods_id` = 309 [ RunTime:0.002478s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000749s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736942601 AND `end_time` > 1736942601 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000524s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 309 [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000609s ]
SELECT * FROM `tp_ad_goods` `g` LEFT JOIN `tp_ad_goods_config` `c` ON `c`.`ad_goods_id`=`g`.`ad_goods_id` WHERE ( g.enabled =1 AND g.end_time > 1736942601 AND g.start_time <1736942601 and( c.goods_id = 309 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000734s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000562s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000448s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000335s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000319s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000372s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000358s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000337s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000291s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000368s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000344s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000424s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000521s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 309 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000620s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000419s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 104 LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 103 LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 105 LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 106 LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 107 LIMIT 1 [ RunTime:0.000260s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 108 LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 109 LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 110 LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 111 LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 112 LIMIT 1 [ RunTime:0.000207s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000310s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000312s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000274s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000302s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 309 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000538s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 309 AND `goods_id` = 309 ORDER BY `item_id` [ RunTime:0.000410s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 309 [ RunTime:0.000316s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000437s ]
SELECT * FROM `tp_spec_item` WHERE `id` = 119 ORDER BY `order_index` ASC [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000422s ]
SELECT * FROM `tp_spec` WHERE `id` = 41 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000234s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 309 [ RunTime:0.000294s ]
SELECT * FROM `tp_spec_item` WHERE `id` = 119 ORDER BY `order_index` ASC [ RunTime:0.000222s ]
SELECT * FROM `tp_spec` WHERE `id` = 41 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000394s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 309 [ RunTime:0.000493s ]