SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000600s ]
SELECT * FROM `tp_config` [ RunTime:0.000337s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000576s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002044s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000625s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `tp_team_activity` [ RunTime:0.000484s ]
SELECT * FROM `tp_team_activity` WHERE `team_id` = 4 LIMIT 1 [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000573s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 319 LIMIT 1 [ RunTime:0.000367s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000482s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 319 [ RunTime:0.001007s ]
SHOW FULL COLUMNS FROM `tp_team_goods_item` [ RunTime:0.000448s ]
SELECT * FROM `tp_team_goods_item` WHERE `team_id` = 4 [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000469s ]
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` = 319 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000366s ]
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` = 319 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000340s ]
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` = 319 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000342s ]
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` = 319 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000353s ]
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` = 319 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000441s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 319 AND `goods_id` = 319 ORDER BY `b`.`order` DESC [ RunTime:0.000500s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000570s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 319 AND `goods_id` = 319 ORDER BY `item_id` [ RunTime:0.000402s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 319 LIMIT 1 [ RunTime:0.000236s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 319 [ RunTime:0.000305s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 319 [ RunTime:0.000287s ]
0
0
0
0
0