SELECT * FROM `tp_banner` WHERE `is_del` = 0 [ RunTime:0.000670s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000618s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 AND `parent_id` = 0 ORDER BY `id` DESC [ RunTime:0.000434s ]
SELECT * FROM `tp_pcset` [ RunTime:0.000626s ]
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 `is_recommended` = 1 GROUP BY `good`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000928s ]
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 `is_recommended` = 1 GROUP BY `good`.`id` ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.000741s ]
SELECT * FROM `tp_cate` WHERE `is_del` = 0 ORDER BY `id` DESC [ RunTime:0.000275s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 25 LIMIT 1 [ RunTime:0.000368s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 25 LIMIT 1 [ RunTime:0.000330s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 24 LIMIT 1 [ RunTime:0.000216s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 24 LIMIT 1 [ RunTime:0.000241s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 23 LIMIT 1 [ RunTime:0.000285s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 23 LIMIT 1 [ RunTime:0.000251s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 22 LIMIT 1 [ RunTime:0.000481s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 22 LIMIT 1 [ RunTime:0.000213s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 21 LIMIT 1 [ RunTime:0.000292s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 21 LIMIT 1 [ RunTime:0.000226s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 19 LIMIT 1 [ RunTime:0.000234s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 19 LIMIT 1 [ RunTime:0.000219s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 18 LIMIT 1 [ RunTime:0.000199s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 18 LIMIT 1 [ RunTime:0.000301s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 17 LIMIT 1 [ RunTime:0.000236s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 17 LIMIT 1 [ RunTime:0.000239s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 16 LIMIT 1 [ RunTime:0.000211s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 16 LIMIT 1 [ RunTime:0.000335s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 15 LIMIT 1 [ RunTime:0.000261s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 15 LIMIT 1 [ RunTime:0.000226s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 14 LIMIT 1 [ RunTime:0.000282s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 14 LIMIT 1 [ RunTime:0.000308s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 12 LIMIT 1 [ RunTime:0.000301s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 12 LIMIT 1 [ RunTime:0.000296s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 11 LIMIT 1 [ RunTime:0.000258s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 11 LIMIT 1 [ RunTime:0.000260s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 10 LIMIT 1 [ RunTime:0.000269s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 10 LIMIT 1 [ RunTime:0.000204s ]
SELECT MIN(`price`) AS think_min FROM `tp_good_sku` WHERE `good_id` = 9 LIMIT 1 [ RunTime:0.000248s ]
SELECT MAX(`price`) AS think_max FROM `tp_good_sku` WHERE `good_id` = 9 LIMIT 1 [ RunTime:0.000364s ]