SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000515s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1746421602 AND `end_time` > 1746421602 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000197s ]
SELECT goods_id, goods_name, goods_sn, shop_price, cost_price, commission, suppliers_id,(SELECT SUM(ag.goods_num) FROM `tp_order` as a left join `tp_order_goods` as ag on ag.order_id = a.order_id where od.goods_id = ag.goods_id and a.pay_status = 1 and a.order_status in(1,2,4) and a.pay_time Between 1745769600 and 1746374400) as ashu1 FROM `tp_goods` `od` WHERE ( is_on_sale=1 and brand_id = 43 ) ORDER BY `ashu1` DESC,`sort` DESC LIMIT 3 [ RunTime:0.279977s ]
SELECT goods_id, goods_name, goods_sn, shop_price, cost_price, commission, suppliers_id,(SELECT SUM(ag.goods_num) FROM `tp_order` as a left join `tp_order_goods` as ag on ag.order_id = a.order_id where od.goods_id = ag.goods_id and a.pay_status = 1 and a.order_status in(1,2,4) and a.pay_time Between 1745769600 and 1746374400) as ashu1 FROM `tp_goods` `od` WHERE ( is_on_sale=1 and brand_id in(42,49) ) ORDER BY `ashu1` DESC,`sort` DESC LIMIT 3 [ RunTime:0.180712s ]
SELECT goods_id, goods_name, goods_sn, shop_price, cost_price, commission, suppliers_id,(SELECT SUM(ag.goods_num) FROM `tp_order` as a left join `tp_order_goods` as ag on ag.order_id = a.order_id where od.goods_id = ag.goods_id and a.pay_status = 1 and a.order_status in(1,2,4) and a.pay_time Between 1745769600 and 1746374400) as ashu1 FROM `tp_goods` `od` WHERE ( is_on_sale=1 and brand_id = 18 ) ORDER BY `ashu1` DESC,`sort` DESC LIMIT 3 [ RunTime:0.047693s ]
SELECT goods_id, goods_name, goods_sn, shop_price, cost_price, commission, suppliers_id,(SELECT SUM(ag.goods_num) FROM `tp_order` as a left join `tp_order_goods` as ag on ag.order_id = a.order_id where od.goods_id = ag.goods_id and a.pay_status = 1 and a.order_status in(1,2,4) and a.pay_time Between 1745769600 and 1746374400) as ashu1 FROM `tp_goods` `od` WHERE ( is_on_sale=1 and brand_id = 30 ) ORDER BY `ashu1` DESC,`sort` DESC LIMIT 3 [ RunTime:0.010649s ]
SHOW FULL COLUMNS FROM `tp_suppliers` [ RunTime:0.000859s ]
SELECT `suppliers_name`,`suppliers_remark`,`suppliers_yunfei`,`suppliers_key`,`fromwxid`,`suppliers_piao`,`suppliers_type` FROM `tp_suppliers` WHERE ( suppliers_id = 117 ) LIMIT 1 [ RunTime:0.000171s ]
SHOW FULL COLUMNS FROM `tp_region_control` [ RunTime:0.000510s ]
SELECT `str_region` FROM `tp_region_control` WHERE ( goods_id = 161612 ) LIMIT 1 [ RunTime:0.000305s ]
SELECT (COUNT(CASE WHEN o.order_status = 3 AND o.pay_status > 0 THEN 1 END) / COUNT(CASE WHEN o.order_status IN (1,2,3,4) AND o.pay_status IN (1,2,3,4,5) THEN 1 END)) as lu FROM tp_order o LEFT JOIN tp_order_goods og ON og.order_id = o.order_id LEFT JOIN tp_goods g ON og.goods_id = g.goods_id LEFT JOIN tp_suppliers s ON o.admin_qudao = s.suppliers_id WHERE o.prom_type IN (0,1,2,3,4,8) AND o.deleted = 0 AND o.pay_time >= 1743829602 and o.admin_qudao = s.suppliers_id and g.is_on_sale = 1 and og.goods_id = 161612 and o.zhuantai not in(17, 5, 103, 106, 114, 117, 18, 19, 107) [ RunTime:0.000390s ]
SHOW FULL COLUMNS FROM `tp_region` [ RunTime:0.000508s ]
SELECT `id`,`name`,`meidisn` FROM `tp_region` WHERE `level` = 1 AND `is_hot` = 0 ORDER BY `level` ASC [ RunTime:0.000154s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 138048 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `tp_wx_user` WHERE `w_token` = 'xkopzw1490691329' LIMIT 1 [ RunTime:0.000264s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 161612 LIMIT 1 [ RunTime:0.000214s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 138048 LIMIT 1 [ RunTime:0.000331s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000192s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 138048 LIMIT 1 [ RunTime:0.000184s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 138048 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000193s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 317 LIMIT 1 [ RunTime:0.000136s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000593s ]
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 > 1746421602 AND g.start_time <1746421602 and( c.goods_id = 161612 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000909s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000590s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000472s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000198s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000192s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000173s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000168s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000196s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000170s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000170s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000192s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000173s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000169s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000170s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 154375 LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000174s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 154375 LIMIT 1 [ RunTime:0.000198s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 154375 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000180s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 46 LIMIT 1 [ RunTime:0.000120s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 2994 LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000177s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 2994 LIMIT 1 [ RunTime:0.000177s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 2994 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000180s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 107 LIMIT 1 [ RunTime:0.000125s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 155699 LIMIT 1 [ RunTime:0.000172s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000175s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 155699 LIMIT 1 [ RunTime:0.000194s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 155699 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000257s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 107 LIMIT 1 [ RunTime:0.000134s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 143105 LIMIT 1 [ RunTime:0.000181s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000180s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 143105 LIMIT 1 [ RunTime:0.000181s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 143105 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000194s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 46 LIMIT 1 [ RunTime:0.000123s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 151506 LIMIT 1 [ RunTime:0.000178s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000177s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 151506 LIMIT 1 [ RunTime:0.000180s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 151506 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000201s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 46 LIMIT 1 [ RunTime:0.000152s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 143851 LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000172s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 143851 LIMIT 1 [ RunTime:0.000361s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 143851 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000194s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 116 LIMIT 1 [ RunTime:0.000126s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 36297 LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000182s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 36297 LIMIT 1 [ RunTime:0.000201s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 36297 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000205s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 95 LIMIT 1 [ RunTime:0.000126s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 57099 LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000171s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 57099 LIMIT 1 [ RunTime:0.000194s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 57099 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000280s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 117 LIMIT 1 [ RunTime:0.000128s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 130963 LIMIT 1 [ RunTime:0.000182s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000189s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 130963 LIMIT 1 [ RunTime:0.000198s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 130963 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000178s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 117 LIMIT 1 [ RunTime:0.000124s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 173588 LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000172s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 173588 LIMIT 1 [ RunTime:0.000207s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 173588 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000200s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 46 LIMIT 1 [ RunTime:0.000129s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 144835 LIMIT 1 [ RunTime:0.000170s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000185s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 144835 LIMIT 1 [ RunTime:0.000182s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 144835 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000185s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 46 LIMIT 1 [ RunTime:0.000147s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 108484 LIMIT 1 [ RunTime:0.000279s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000188s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 108484 LIMIT 1 [ RunTime:0.000255s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 108484 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000186s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 82 LIMIT 1 [ RunTime:0.000124s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000575s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 161612 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000783s ]
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` = 161612 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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000218s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000192s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000179s ]
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` = 161612 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000167s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000569s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 161612 AND `goods_id` = 161612 ORDER BY `item_id` [ RunTime:0.000466s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000188s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 161612 LIMIT 1 [ RunTime:0.000201s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 161612 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000195s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 117 LIMIT 1 [ RunTime:0.000126s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 161612 LIMIT 1 [ RunTime:0.000119s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000180s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 161612 LIMIT 1 [ RunTime:0.000136s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 161612 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000120s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 117 LIMIT 1 [ RunTime:0.000130s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 161612 [ RunTime:0.000176s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 161612 [ RunTime:0.000117s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 161612 LIMIT 1 [ RunTime:0.000114s ]
SELECT * FROM `tp_wx_user` WHERE ( w_token = "xkopzw1490691329" ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000180s ]
SELECT `w_token`,`label_id`,`shop_price` FROM `tp_goods` WHERE `goods_id` = 161612 LIMIT 1 [ RunTime:0.000124s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 161612 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000118s ]
SELECT `guize` FROM `tp_suppliers` WHERE `suppliers_id` = 117 LIMIT 1 [ RunTime:0.000145s ]