SHOW FULL COLUMNS FROM `zzw_config` [ RunTime:0.001892s ]
SELECT * FROM `zzw_config` ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000416s ]
SHOW FULL COLUMNS FROM `zzw_common_cat` [ RunTime:0.001200s ]
SELECT * FROM `zzw_common_cat` WHERE `deltime` = '' AND `parent_id` = 0 ORDER BY `sort` ASC,`id` ASC LIMIT 0,4 [ RunTime:0.000552s ]
SELECT * FROM `zzw_common_cat` WHERE `parent_id` = 15 AND `deltime` = '' ORDER BY `sort` ASC LIMIT 0,8 [ RunTime:0.000525s ]
SELECT * FROM `zzw_common_cat` WHERE `parent_id` = 16 AND `deltime` = '' ORDER BY `sort` ASC LIMIT 0,8 [ RunTime:0.000440s ]
SELECT * FROM `zzw_common_cat` WHERE `parent_id` = 14 AND `deltime` = '' ORDER BY `sort` ASC LIMIT 0,8 [ RunTime:0.000349s ]
SELECT * FROM `zzw_common_cat` WHERE `parent_id` = 13 AND `deltime` = '' ORDER BY `sort` ASC LIMIT 0,8 [ RunTime:0.000499s ]
SELECT `url` FROM `zzw_config` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `zzw_config` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `zzw_bearing_brand` [ RunTime:0.001421s ]
SELECT `id`,`brandname`,`thumb` FROM `zzw_bearing_brand` WHERE `deltime` = '' AND `is_shop` = 1 ORDER BY `id` ASC [ RunTime:0.000984s ]
SELECT `id`,`catname` FROM `zzw_common_cat` WHERE `deltime` = '' AND `is_show` = 1 AND `parent_id` = 0 ORDER BY `sort` ASC [ RunTime:0.000390s ]
SELECT `id`,`catname` FROM `zzw_common_cat` WHERE `deltime` = '' AND `is_show` = 1 AND `parent_id` = 15 ORDER BY `sort` ASC [ RunTime:0.000362s ]
SELECT `id`,`catname` FROM `zzw_common_cat` WHERE `deltime` = '' AND `is_show` = 1 AND `parent_id` = 16 ORDER BY `sort` ASC [ RunTime:0.000368s ]
SELECT `id`,`catname` FROM `zzw_common_cat` WHERE `deltime` = '' AND `is_show` = 1 AND `parent_id` = 14 ORDER BY `sort` ASC [ RunTime:0.000352s ]
SELECT `id`,`catname` FROM `zzw_common_cat` WHERE `deltime` = '' AND `is_show` = 1 AND `parent_id` = 13 ORDER BY `sort` ASC [ RunTime:0.000455s ]
SELECT `id`,`catname` FROM `zzw_common_cat` WHERE `deltime` = '' AND `is_show` = 1 AND `parent_id` = 62 ORDER BY `sort` ASC [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `zzw_sell` [ RunTime:0.001695s ]
SELECT `chandi` FROM `zzw_sell` `g` WHERE `status` = 2 AND `is_on_sale` = 1 AND `deltime` = '' GROUP BY `chandi` [ RunTime:0.002919s ]
SELECT * FROM `zzw_common_cat` WHERE `parent_id` = 17 AND `deltime` = '' [ RunTime:0.000544s ]
SELECT `catname` FROM `zzw_common_cat` WHERE `id` = 17 LIMIT 1 [ RunTime:0.000295s ]
SELECT COUNT(*) AS think_count FROM `zzw_sell` `s` LEFT JOIN `zzw_common_cat` `cc` ON `s`.`catid`=`cc`.`id` LEFT JOIN `zzw_bearing_brand` `bb` ON `s`.`brandid`=`bb`.`id` LEFT JOIN `zzw_supplier` `su` ON `s`.`supplier_id`=`su`.`id` WHERE `s`.`deltime` = '' AND `s`.`status` = '2' AND `s`.`is_on_sale` = '1' AND ( 1=1 and s.catid in (17) ) [ RunTime:0.001158s ]
SELECT `s`.`id`,`s`.`title`,`s`.`image`,`s`.`catid`,`s`.`count`,`s`.`brandid`,`s`.`supplier_id`,`s`.`addtime`,`s`.`size`,`s`.`unit`,`s`.`chandi`,`s`.`baozhuang`,`cc`.`catname`,`bb`.`brandname`,`su`.`xingming`,`su`.`corpname`,su.id as supid,su.type as corptype,`su`.`account` FROM `zzw_sell` `s` LEFT JOIN `zzw_common_cat` `cc` ON `s`.`catid`=`cc`.`id` LEFT JOIN `zzw_bearing_brand` `bb` ON `s`.`brandid`=`bb`.`id` LEFT JOIN `zzw_supplier` `su` ON `s`.`supplier_id`=`su`.`id` WHERE `s`.`deltime` = '' AND `s`.`status` = '2' AND `s`.`is_on_sale` = '1' AND ( 1=1 and s.catid in (17) ) ORDER BY `s`.`id` DESC LIMIT 0,15 [ RunTime:0.002971s ]