SHOW FULL COLUMNS FROM `xkyx_shopapp` [ RunTime:0.001005s ]
SELECT `id`,`title`,`pc_bg`,`first_city`,`secondary_city`,`city`,`key`,`shop_code` FROM `xkyx_shopapp` WHERE `id` = 196 LIMIT 1 [ RunTime:0.000542s ]
SHOW FULL COLUMNS FROM `xkyx_region` [ RunTime:0.000639s ]
SELECT `name` FROM `xkyx_region` WHERE `id` IN (1,45052,44) ORDER BY FIELD(id,1,45052,44) [ RunTime:0.000554s ]
SHOW FULL COLUMNS FROM `xkyx_goods` [ RunTime:0.000807s ]
SELECT COUNT(`id`) AS think_count FROM `xkyx_goods` WHERE `sid` = 196 AND `use_shop` = 1 LIMIT 1 [ RunTime:0.001489s ]
SHOW FULL COLUMNS FROM `xkyx_exashop` [ RunTime:0.000839s ]
SELECT `capital`,`person`,`licadd`,`range`,`credit`,`registration_authority`,`enterprise_scale`,`taxpayer_qualification`,`enterprise_name`,`establishment_time`,`registration_status` FROM `xkyx_exashop` WHERE `sid` = 196 LIMIT 1 [ RunTime:0.000635s ]
SELECT `b`.`id`,`b`.`title` FROM `xkyx_goods` `g` INNER JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` WHERE `g`.`sid` = '196' GROUP BY `g`.`brand` LIMIT 5 [ RunTime:0.002126s ]
SELECT `g_c` FROM `xkyx_goods` WHERE `sid` = 196 GROUP BY `g_c` [ RunTime:0.001955s ]
SHOW FULL COLUMNS FROM `xkyx_classify` [ RunTime:0.000681s ]
SELECT * FROM `xkyx_classify` WHERE `id` IN (1,2,3,4,5,6,12,115) [ RunTime:0.000509s ]
SELECT `g_cs` FROM `xkyx_goods` WHERE `sid` = 196 AND `g_c` = 1 GROUP BY `g_cs` [ RunTime:0.001441s ]
SELECT * FROM `xkyx_classify` WHERE `id` IN (16,18,70,71,72,112,139,674) [ RunTime:0.000495s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000457s ]
SELECT `g_ct` FROM `xkyx_goods` WHERE `sid` = 196 AND `g_cs` = 674 GROUP BY `g_ct` [ RunTime:0.001388s ]
SELECT * FROM `xkyx_classify` WHERE `id` IN (675,676,703,1062) [ RunTime:0.000512s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 674 LIMIT 1 [ RunTime:0.000459s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 676 LIMIT 1 [ RunTime:0.000401s ]
SHOW FULL COLUMNS FROM `xkyx_brand` [ RunTime:0.000688s ]
SELECT `title` FROM `xkyx_brand` WHERE `id` = 185 LIMIT 1 [ RunTime:0.000480s ]
SELECT `b`.`title`,`b`.`id` FROM `xkyx_goods` `g` INNER JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` WHERE `g`.`sid` = '196' AND `g`.`g_c` = '1' AND `g`.`g_cs` = '674' AND `g`.`g_ct` = '676' AND `g`.`brand` = '185' GROUP BY `brand` [ RunTime:0.001426s ]
SELECT COUNT(*) AS think_count FROM `xkyx_goods` `g` LEFT JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` LEFT JOIN `xkyx_br_address` `br` ON `br`.`id`=`b`.`address` LEFT JOIN `xkyx_picture` `pic` ON `pic`.`id`=`g`.`pic` INNER JOIN `xkyx_goods_price` `gp` ON `g`.`id`=`gp`.`goods_id` INNER JOIN `xkyx_price` `p` ON `p`.`id`=`gp`.`price_id` INNER JOIN `xkyx_shopapp` `s` ON `g`.`sid`=`s`.`id` WHERE `g`.`sid` = '196' AND `g`.`g_c` = '1' AND `g`.`g_cs` = '674' AND `g`.`g_ct` = '676' AND `g`.`brand` = '185' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' LIMIT 1 [ RunTime:0.001678s ]
SELECT `g`.`id`,`g`.`title`,`g`.`sid`,`g`.`brand`,`pic`.`path`,`g`.`mod`,`g`.`meter`,b.title as brandTitle,gp.value as price,s.title as shopTitle FROM `xkyx_goods` `g` LEFT JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` LEFT JOIN `xkyx_br_address` `br` ON `br`.`id`=`b`.`address` LEFT JOIN `xkyx_picture` `pic` ON `pic`.`id`=`g`.`pic` INNER JOIN `xkyx_goods_price` `gp` ON `g`.`id`=`gp`.`goods_id` INNER JOIN `xkyx_price` `p` ON `p`.`id`=`gp`.`price_id` INNER JOIN `xkyx_shopapp` `s` ON `g`.`sid`=`s`.`id` WHERE `g`.`sid` = '196' AND `g`.`g_c` = '1' AND `g`.`g_cs` = '674' AND `g`.`g_ct` = '676' AND `g`.`brand` = '185' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' ORDER BY g.id desc LIMIT 0,18 [ RunTime:0.001770s ]