SHOW FULL COLUMNS FROM `ns_cms_document` [ RunTime:0.000825s ]
SELECT `menu_id` FROM `ns_cms_document` WHERE ( `id` = 109 ) AND `ns_cms_document`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000217s ]
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` = 109 AND `is_verify` = 1 ) AND `cms_document`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000271s ]
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` > 109 AND `menu_id` = 1 AND `is_verify` = 1 ) AND `cms_document`.`delete_time` = '0' ORDER BY `list_order` ASC,`id` ASC LIMIT 1 [ RunTime:0.000822s ]
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` < 109 AND `menu_id` = 1 AND `is_verify` = 1 ) AND `cms_document`.`delete_time` = '0' ORDER BY `list_order` DESC,`id` DESC LIMIT 1 [ RunTime:0.000765s ]
SELECT `document_model_id`,`id` FROM `ns_cms_document` WHERE ( `id` IN (109,108) ) AND `ns_cms_document`.`delete_time` = '0' [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `ns_cms_document_product` [ RunTime:0.001410s ]
SELECT `id`,`original_price`,`price`,`parameters`,`thumbs`,`content` FROM `ns_cms_document_product` `cms_document_product` WHERE `id` IN (109,108) [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `ns_cms_ad_position` [ RunTime:0.001040s ]
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_1' LIMIT 1 [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `ns_cms_ad` [ RunTime:0.000744s ]
SELECT `id`,`ad_position_id`,`title`,`image`,`mobile_image`,`bgcolor`,`ex_link`,`is_verify`,`list_order`,`admin_id`,`create_time`,`update_time`,`delete_time` FROM `ns_cms_ad` `cms_ad` WHERE ( `ad_position_id` = 3 AND `is_verify` = 1 AND `image` <> '' ) AND `cms_ad`.`delete_time` = '0' ORDER BY `list_order` DESC,`id` DESC [ RunTime:0.000305s ]