SHOW FULL COLUMNS FROM `ns_cms_document` [ RunTime:0.002048s ]
SELECT `menu_id` FROM `ns_cms_document` WHERE ( `id` = 80 ) AND `ns_cms_document`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000377s ]
SELECT `id`,`title`,`menu_id`,`menu_ids`,`ex_title`,`document_model_id`,`is_verify`,`date`,`image`,`images`,`tag`,`list_order`,`admin_id`,`user_id`,`visit_count`,`comment_count`,`like_count`,`dislike_count`,`collection_count`,`is_hot`,`is_new`,`is_index`,`is_recommend`,`is_guest`,`is_comment`,`view_template`,`seo_title`,`seo_keywords`,`seo_description`,`ex_link`,`route`,`summary`,`create_time`,`update_time`,`delete_time` FROM `ns_cms_document` `cms_document` WHERE ( `id` = 80 AND `is_verify` = 1 ) AND `cms_document`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000916s ]
SELECT `id`,`title`,`menu_id`,`menu_ids`,`ex_title`,`document_model_id`,`is_verify`,`date`,`image`,`images`,`tag`,`list_order`,`admin_id`,`user_id`,`visit_count`,`comment_count`,`like_count`,`dislike_count`,`collection_count`,`is_hot`,`is_new`,`is_index`,`is_recommend`,`is_guest`,`is_comment`,`view_template`,`seo_title`,`seo_keywords`,`seo_description`,`ex_link`,`route`,`summary`,`create_time`,`update_time`,`delete_time` FROM `ns_cms_document` `cms_document` WHERE ( `id` > 80 AND `menu_id` = 7 AND `is_verify` = 1 ) AND `cms_document`.`delete_time` = '0' ORDER BY `list_order` ASC,`id` ASC LIMIT 1 [ RunTime:0.000714s ]
SELECT `id`,`title`,`menu_id`,`menu_ids`,`ex_title`,`document_model_id`,`is_verify`,`date`,`image`,`images`,`tag`,`list_order`,`admin_id`,`user_id`,`visit_count`,`comment_count`,`like_count`,`dislike_count`,`collection_count`,`is_hot`,`is_new`,`is_index`,`is_recommend`,`is_guest`,`is_comment`,`view_template`,`seo_title`,`seo_keywords`,`seo_description`,`ex_link`,`route`,`summary`,`create_time`,`update_time`,`delete_time` FROM `ns_cms_document` `cms_document` WHERE ( `id` < 80 AND `menu_id` = 7 AND `is_verify` = 1 ) AND `cms_document`.`delete_time` = '0' ORDER BY `list_order` DESC,`id` DESC LIMIT 1 [ RunTime:0.000489s ]
SELECT `document_model_id`,`id` FROM `ns_cms_document` WHERE ( `id` = 80 ) AND `ns_cms_document`.`delete_time` = '0' [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `ns_cms_document_product` [ RunTime:0.001293s ]
SELECT `id`,`original_price`,`price`,`parameters`,`thumbs`,`content` FROM `ns_cms_document_product` `cms_document_product` WHERE `id` = 80 [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `ns_cms_ad_position` [ RunTime:0.001512s ]
SELECT `id`,`title`,`var`,`width`,`height`,`mobile_width`,`mobile_height`,`thumb_method`,`is_thumb`,`limit`,`ad_count`,`create_time`,`update_time` FROM `ns_cms_ad_position` `cms_ad_position` WHERE `var` = 'menu_7' LIMIT 1 [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `ns_cms_link_model` [ RunTime:0.001519s ]
SELECT `id` FROM `ns_cms_link_model` WHERE ( `var` = 'friendship' ) AND `ns_cms_link_model`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `ns_cms_link` [ RunTime:0.000674s ]
SELECT `id`,`link_model_id`,`menu_id`,`title`,`ex_link`,`is_verify`,`image`,`list_order`,`admin_id`,`create_time`,`update_time`,`delete_time` FROM `ns_cms_link` `cms_link` WHERE ( `link_model_id` = 1 AND `is_verify` = 1 ) AND `cms_link`.`delete_time` = '0' ORDER BY `list_order` ASC,`id` ASC [ RunTime:0.000255s ]