SELECT * FROM `tp_banner` WHERE `is_del` = 0 [ RunTime:0.000492s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000412s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 AND `parent_id` = 0 ORDER BY `id` DESC [ RunTime:0.000390s ]
SELECT * FROM `tp_pcset` [ RunTime:0.000437s ]
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 GROUP BY `good`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.001416s ]
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 GROUP BY `good`.`id` ORDER BY `id` DESC LIMIT 150,15 [ RunTime:0.001646s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000502s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 6 LIMIT 1 [ RunTime:0.000539s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 6 LIMIT 1 [ RunTime:0.000476s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 5 LIMIT 1 [ RunTime:0.000409s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 5 LIMIT 1 [ RunTime:0.000342s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 4 LIMIT 1 [ RunTime:0.000279s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 4 LIMIT 1 [ RunTime:0.000249s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 3 LIMIT 1 [ RunTime:0.000264s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 3 LIMIT 1 [ RunTime:0.000331s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 2 LIMIT 1 [ RunTime:0.000284s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 2 LIMIT 1 [ RunTime:0.000337s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 1 LIMIT 1 [ RunTime:0.000222s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 1 LIMIT 1 [ RunTime:0.000205s ]