SHOW FULL COLUMNS FROM `xkyx_shopapp` [ RunTime:0.001048s ]
SELECT `id`,`title`,`pc_bg`,`first_city`,`secondary_city`,`city`,`key`,`shop_code` FROM `xkyx_shopapp` WHERE `id` = 1141 LIMIT 1 [ RunTime:0.000617s ]
SHOW FULL COLUMNS FROM `xkyx_region` [ RunTime:0.000691s ]
SELECT `name` FROM `xkyx_region` WHERE `id` IN (19,289,3043) ORDER BY FIELD(id,19,289,3043) [ RunTime:0.000530s ]
SHOW FULL COLUMNS FROM `xkyx_goods` [ RunTime:0.000751s ]
SELECT COUNT(`id`) AS think_count FROM `xkyx_goods` WHERE `sid` = 1141 AND `use_shop` = 1 LIMIT 1 [ RunTime:0.000605s ]
SHOW FULL COLUMNS FROM `xkyx_exashop` [ RunTime:0.000783s ]
SELECT `capital`,`person`,`licadd`,`range`,`credit`,`registration_authority`,`enterprise_scale`,`taxpayer_qualification`,`enterprise_name`,`establishment_time`,`registration_status` FROM `xkyx_exashop` WHERE `sid` = 1141 LIMIT 1 [ RunTime:0.001421s ]
SELECT `b`.`id`,`b`.`title` FROM `xkyx_goods` `g` INNER JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` WHERE `g`.`sid` = '1141' GROUP BY `g`.`brand` LIMIT 5 [ RunTime:0.000699s ]
SELECT `g_c` FROM `xkyx_goods` WHERE `sid` = 1141 GROUP BY `g_c` [ RunTime:0.000696s ]
SHOW FULL COLUMNS FROM `xkyx_classify` [ RunTime:0.000643s ]
SELECT * FROM `xkyx_classify` WHERE `id` = 2 [ RunTime:0.000410s ]
SELECT `g_cs` FROM `xkyx_goods` WHERE `sid` = 1141 AND `g_c` = 2 GROUP BY `g_cs` [ RunTime:0.000645s ]
SELECT * FROM `xkyx_classify` WHERE `id` IN (19,20,21,106,107,353,549,555,566,709) [ RunTime:0.000503s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000442s ]
SELECT `g_ct` FROM `xkyx_goods` WHERE `sid` = 1141 AND `g_cs` = 555 GROUP BY `g_ct` [ RunTime:0.000659s ]
SELECT * FROM `xkyx_classify` WHERE `id` IN (556,557,559,954,955,962) [ RunTime:0.000463s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 555 LIMIT 1 [ RunTime:0.000406s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 557 LIMIT 1 [ RunTime:0.000369s ]
SELECT `b`.`title`,`b`.`id` FROM `xkyx_goods` `g` INNER JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` WHERE `g`.`sid` = '1141' AND `g`.`g_c` = '2' AND `g`.`g_cs` = '555' AND `g`.`g_ct` = '557' GROUP BY `brand` [ RunTime:0.000638s ]
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` = '1141' AND `g`.`g_c` = '2' AND `g`.`g_cs` = '555' AND `g`.`g_ct` = '557' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' LIMIT 1 [ RunTime:0.000743s ]
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` = '1141' AND `g`.`g_c` = '2' AND `g`.`g_cs` = '555' AND `g`.`g_ct` = '557' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' ORDER BY g.id desc LIMIT 0,18 [ RunTime:0.000830s ]