SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.004237s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 307 LIMIT 1 [ RunTime:0.000389s ]
UPDATE `tp_goods` SET `click_count` = 95 WHERE `goods_id` = 307 [ RunTime:0.000209s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.003137s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1746542991 AND `end_time` > 1746542991 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000270s ]
SELECT `goods_id`,`goods_name`,`shop_price` FROM `tp_goods` WHERE ( is_recommend=1 and is_on_sale=1 and cat_id = 369 ) LIMIT 9 [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.003093s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 307 [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.003044s ]
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 > 1746542991 AND g.start_time <1746542991 and( c.goods_id = 307 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.003289s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000330s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000281s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000232s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000224s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000214s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000200s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000217s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000308s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000328s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000232s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000215s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000195s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.001418s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 307 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.001190s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.001348s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 75 LIMIT 1 [ RunTime:0.000217s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 76 LIMIT 1 [ RunTime:0.000146s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 77 LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 78 LIMIT 1 [ RunTime:0.000134s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 79 LIMIT 1 [ RunTime:0.000132s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 81 LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 82 LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 86 LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 91 LIMIT 1 [ RunTime:0.000156s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 93 LIMIT 1 [ RunTime:0.000214s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 98 LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 99 LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 100 LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 101 LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 102 LIMIT 1 [ RunTime:0.000176s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000257s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000307s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000236s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000321s ]
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` = 307 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.001404s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 307 AND `goods_id` = 307 ORDER BY `item_id` [ RunTime:0.000363s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 307 [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.003250s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (116,117) ORDER BY `order_index` ASC [ RunTime:0.000377s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.002957s ]
SELECT * FROM `tp_spec` WHERE `id` = 39 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000178s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 307 [ RunTime:0.000254s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (116,117) ORDER BY `order_index` ASC [ RunTime:0.000218s ]
SELECT * FROM `tp_spec` WHERE `id` = 39 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000149s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.002939s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 307 [ RunTime:0.000405s ]