SHOW FULL COLUMNS FROM `tp_team_activity` [ RunTime:0.000933s ]
SELECT * FROM `tp_team_activity` WHERE `team_id` = 5 LIMIT 1 [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000765s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 306 LIMIT 1 [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000556s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 306 [ RunTime:0.000327s ]
SHOW FULL COLUMNS FROM `tp_team_goods_item` [ RunTime:0.000595s ]
SELECT * FROM `tp_team_goods_item` WHERE `team_id` = 5 [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000526s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000464s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000357s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000381s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000376s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000586s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 306 AND `goods_id` = 306 ORDER BY `b`.`order` DESC [ RunTime:0.000739s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000463s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 76 LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 77 LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 78 LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 79 LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 80 LIMIT 1 [ RunTime:0.000305s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 81 LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 82 LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 86 LIMIT 1 [ RunTime:0.000265s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 88 LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 89 LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 90 LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 91 LIMIT 1 [ RunTime:0.000371s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 92 LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 93 LIMIT 1 [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000603s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 306 AND `goods_id` = 306 ORDER BY `item_id` [ RunTime:0.000430s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 306 LIMIT 1 [ RunTime:0.000243s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 306 [ RunTime:0.000336s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000576s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (116,117) ORDER BY `order_index` ASC [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000490s ]
SELECT * FROM `tp_spec` WHERE `id` = 39 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000287s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 306 [ RunTime:0.000384s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (116,117) ORDER BY `order_index` ASC [ RunTime:0.000265s ]
SELECT * FROM `tp_spec` WHERE `id` = 39 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000237s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000534s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 306 [ RunTime:0.000638s ]
0
0
0
0
0