SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000724s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 298 LIMIT 1 [ RunTime:0.000500s ]
UPDATE `tp_goods` SET `click_count` = 25 WHERE `goods_id` = 298 [ RunTime:0.002521s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000621s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736955984 AND `end_time` > 1736955984 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000498s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 298 [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000573s ]
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 > 1736955984 AND g.start_time <1736955984 and( c.goods_id = 298 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000535s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000519s ]
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` = 298 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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000396s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000385s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000420s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000432s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000395s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000437s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000346s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000364s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000444s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000432s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 283 LIMIT 1 [ RunTime:0.000304s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 286 LIMIT 1 [ RunTime:0.000242s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 293 LIMIT 1 [ RunTime:0.000253s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 294 LIMIT 1 [ RunTime:0.000267s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 298 LIMIT 1 [ RunTime:0.000341s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 299 LIMIT 1 [ RunTime:0.000322s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 302 LIMIT 1 [ RunTime:0.000282s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 303 LIMIT 1 [ RunTime:0.000282s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 304 LIMIT 1 [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000783s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 298 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000659s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000559s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 8 LIMIT 1 [ RunTime:0.000312s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 21 LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 20 LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 18 LIMIT 1 [ RunTime:0.000220s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 17 LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 22 LIMIT 1 [ RunTime:0.000302s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 23 LIMIT 1 [ RunTime:0.000276s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 58 LIMIT 1 [ RunTime:0.000292s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 57 LIMIT 1 [ RunTime:0.000264s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000419s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000463s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000393s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000397s ]
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` = 298 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000676s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 298 AND `goods_id` = 298 ORDER BY `item_id` [ RunTime:0.000477s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 298 [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000555s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (106,107) ORDER BY `order_index` ASC [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000528s ]
SELECT * FROM `tp_spec` WHERE `id` = 27 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000314s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 298 [ RunTime:0.000372s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (106,107) ORDER BY `order_index` ASC [ RunTime:0.000347s ]
SELECT * FROM `tp_spec` WHERE `id` = 27 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000336s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000458s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 298 [ RunTime:0.000588s ]