SELECT * FROM `tp_banner` WHERE `is_del` = 0 [ RunTime:0.000412s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000389s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 AND `parent_id` = 0 ORDER BY `id` DESC [ RunTime:0.000366s ]
SELECT * FROM `tp_pcset` [ RunTime:0.000298s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `tp_good` `good` LEFT JOIN `tp_good_sku` `sku` ON `good`.`id`=`sku`.`good_id` INNER JOIN `tp_good_cate` `cate` ON `good`.`id`=`cate`.`good_id` WHERE `is_del` = 0 AND `is_on_shelf` = 1 AND `cate_id` = '17' GROUP BY `good`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.004152s ]
SELECT good.*, AVG(sku.price) as price_avg FROM `tp_good` `good` LEFT JOIN `tp_good_sku` `sku` ON `good`.`id`=`sku`.`good_id` INNER JOIN `tp_good_cate` `cate` ON `good`.`id`=`cate`.`good_id` WHERE `is_del` = 0 AND `is_on_shelf` = 1 AND `cate_id` = '17' GROUP BY `good`.`id` ORDER BY `id` DESC LIMIT 0,12 [ RunTime:0.000581s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000291s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 69 LIMIT 1 [ RunTime:0.000349s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 69 LIMIT 1 [ RunTime:0.000320s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 68 LIMIT 1 [ RunTime:0.000202s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 68 LIMIT 1 [ RunTime:0.000204s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 67 LIMIT 1 [ RunTime:0.000322s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 67 LIMIT 1 [ RunTime:0.000263s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 66 LIMIT 1 [ RunTime:0.000226s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 66 LIMIT 1 [ RunTime:0.000248s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 65 LIMIT 1 [ RunTime:0.000204s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 65 LIMIT 1 [ RunTime:0.000199s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 64 LIMIT 1 [ RunTime:0.000208s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 64 LIMIT 1 [ RunTime:0.000190s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 63 LIMIT 1 [ RunTime:0.000239s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 63 LIMIT 1 [ RunTime:0.000202s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 62 LIMIT 1 [ RunTime:0.000250s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 62 LIMIT 1 [ RunTime:0.000206s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 61 LIMIT 1 [ RunTime:0.000257s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 61 LIMIT 1 [ RunTime:0.000207s ]