SHOW FULL COLUMNS FROM `g3ys_config` [ RunTime:0.002431s ]
SELECT `value` FROM `g3ys_config` WHERE `name` = 'timezone' AND `subsite_id` = '44' LIMIT 1 [ RunTime:0.000700s ]
SHOW FULL COLUMNS FROM `g3ys_route` [ RunTime:0.002585s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000766s ]
SHOW FULL COLUMNS FROM `g3ys_theme` [ RunTime:0.002639s ]
SELECT `paginator` FROM `g3ys_theme` WHERE `module` = 'home' AND `name` = 'sgxetf' AND `subsite_id` = '44' LIMIT 1 [ RunTime:0.000756s ]
SHOW FULL COLUMNS FROM `g3ys_lang` [ RunTime:0.003206s ]
SELECT * FROM `g3ys_lang` WHERE `subsite_id` = 44 AND ( ( LOWER(name) = 'zh-cn' ) OR `subtag` = 'zh-cn' ) AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001513s ]
SHOW FULL COLUMNS FROM `g3ys_member` [ RunTime:0.005044s ]
SELECT * FROM `g3ys_member` WHERE `id` = 0 AND `subsite_id` = '44' LIMIT 1 [ RunTime:0.000962s ]
SHOW FULL COLUMNS FROM `g3ys_document` [ RunTime:0.004272s ]
SELECT COUNT(*) AS think_count FROM `g3ys_document` `d` LEFT JOIN `g3ys_document_article` `a` ON `d`.`id`=`a`.`document_id` LEFT JOIN `g3ys_document_article_lang` `al` ON `al`.`document_id`=d.id AND al.subsite_id = d.subsite_id AND al.lang = "zh-CN" LEFT JOIN `g3ys_total` `t` ON `d`.`id`=`t`.`target_id` WHERE ( `d`.`status` = '1' AND `d`.`document_type` = '0' AND `d`.`subsite_id` IN ('0','44') AND `d`.`category_id` IN ('1723','1722','1721','1720','2092','2093','2094') ) AND ( `d`.`title` LIKE '%DBS%' OR `d`.`keywords` LIKE '%DBS%' OR `d`.`description` LIKE '%DBS%' OR `a`.`content` LIKE '%DBS%' OR `al`.`title` LIKE '%DBS%' OR `al`.`keywords` LIKE '%DBS%' OR `al`.`description` LIKE '%DBS%' OR `al`.`content` LIKE '%DBS%' ) [ RunTime:0.012138s ]
SELECT `d`.`id`,`d`.`name`,`d`.`title`,`d`.`keywords`,`d`.`description`,`a`.`content`,`d`.`category_id`,`d`.`create_time`,`d`.`update_time`,`d`.`pic`,t.view_total as views,al.title as lang_title,al.keywords as lang_keywords,al.description as lang_description,al.content as lang_content FROM `g3ys_document` `d` LEFT JOIN `g3ys_document_article` `a` ON `d`.`id`=`a`.`document_id` LEFT JOIN `g3ys_document_article_lang` `al` ON `al`.`document_id`=d.id AND al.subsite_id = d.subsite_id AND al.lang = "zh-CN" LEFT JOIN `g3ys_total` `t` ON `d`.`id`=`t`.`target_id` WHERE ( `d`.`status` = '1' AND `d`.`document_type` = '0' AND `d`.`subsite_id` IN ('0','44') AND `d`.`category_id` IN ('1723','1722','1721','1720','2092','2093','2094') ) AND ( `d`.`title` LIKE '%DBS%' OR `d`.`keywords` LIKE '%DBS%' OR `d`.`description` LIKE '%DBS%' OR `a`.`content` LIKE '%DBS%' OR `al`.`title` LIKE '%DBS%' OR `al`.`keywords` LIKE '%DBS%' OR `al`.`description` LIKE '%DBS%' OR `al`.`content` LIKE '%DBS%' ) ORDER BY `d`.`create_time` DESC LIMIT 0,10 [ RunTime:0.011339s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000938s ]
SHOW FULL COLUMNS FROM `g3ys_subsite` [ RunTime:0.004035s ]
SELECT COUNT(*) AS think_count FROM `g3ys_subsite` WHERE ( `status` = 1 ) AND ( ( `title` LIKE '%DBS%' OR `name` LIKE '%DBS%' OR `company_name` LIKE '%DBS%' OR `username` LIKE '%DBS%' OR `phone` LIKE '%DBS%' OR `email` LIKE '%DBS%' ) ) [ RunTime:0.000876s ]
SHOW FULL COLUMNS FROM `g3ys_category` [ RunTime:0.004562s ]
SELECT COUNT(*) AS think_count FROM `g3ys_category` WHERE ( `status` = 1 ) AND ( `title` LIKE '%DBS%' AND ( `name` LIKE '%DBS%' OR `description` LIKE '%DBS%' ) ) [ RunTime:0.001149s ]
SHOW FULL COLUMNS FROM `g3ys_tags` [ RunTime:0.002217s ]
SELECT COUNT(*) AS think_count FROM `g3ys_tags` `t` LEFT JOIN `g3ys_tags_lang` `tl` ON `tl`.`tags_id`=t.id AND tl.subsite_id = t.subsite_id AND tl.lang = "zh-cn" WHERE ( `t`.`status` = '1' ) AND `t`.`subsite_id` IN ('0','44') AND ( ( `t`.`title` LIKE '%DBS%' OR `t`.`name` LIKE '%DBS%' OR `t`.`description` LIKE '%DBS%' ) OR ( `tl`.`title` LIKE '%DBS%' OR `tl`.`keyword` LIKE '%DBS%' OR `tl`.`description` LIKE '%DBS%' ) ) [ RunTime:0.001476s ]
SHOW FULL COLUMNS FROM `g3ys_record_search` [ RunTime:0.004621s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001024s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000742s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000700s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000852s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000704s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000659s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000677s ]