[ DB ] CONNECT:[ UseTime:0.000428s ] mysql:host=127.0.0.1;port=3306;dbname=www_cshdwh_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `cms_store` [ RunTime:0.001062s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cms_store` LIMIT 1 [ RunTime:0.000245s ]
[ SQL ] SELECT `id`,`name`,`address`,`telephone` FROM `cms_store` ORDER BY `sort` DESC,`id` LIMIT 0,10 [ RunTime:0.000207s ]
[ SQL ] SHOW COLUMNS FROM `cms_goods_class` [ RunTime:0.000975s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cms_goods_class` WHERE `parentid` = 0 LIMIT 1 [ RunTime:0.000223s ]
[ SQL ] SELECT `id`,`name` FROM `cms_goods_class` WHERE `parentid` = 0 ORDER BY `sort` DESC,`id` LIMIT 0,15 [ RunTime:0.000223s ]
[ SQL ] SELECT `id`,`name`,`parentid` FROM `cms_goods_class` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000242s ]
[ SQL ] SHOW COLUMNS FROM `cms_advert` [ RunTime:0.000790s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cms_advert` WHERE `position_id` = 4 LIMIT 1 [ RunTime:0.000219s ]
[ SQL ] SELECT `id`,`title`,`intro`,`picpath`,`adverturl`,`urltype`,`remarks` FROM `cms_advert` WHERE `position_id` = 4 ORDER BY `sort` DESC,`id` LIMIT 0,1 [ RunTime:0.000217s ]
[ SQL ] SELECT * FROM `cms_goods_class` [ RunTime:0.000220s ]
[ SQL ] SHOW COLUMNS FROM `cms_goods` [ RunTime:0.000876s ]
[ SQL ] SELECT `g`.`id`,`g`.`title`,`g`.`name`,`g`.`item_no`,`g`.`picpath`,`g`.`retail_price`,gc.name as classname FROM `cms_goods` `g` INNER JOIN `cms_goods_class` `gc` ON `g`.`class_id`=`gc`.`id` WHERE ( FIND_IN_SET(10,gc.parentpath) OR gc.parentid = 10 ) ORDER BY `g`.`sort` DESC,`g`.`id` LIMIT 9 [ RunTime:0.000278s ]