[ DB ] CONNECT:[ UseTime:0.007034s ] mysql:host=172.16.242.17;port=3306;dbname=bangivf;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `sgb_category` [ RunTime:0.006095s ]
[ SQL ] SELECT `id`,`name`,`image` FROM `sgb_category` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `status` = 1 AND `objType` = 'HOMESH' AND `is_rec` = 1 ORDER BY `sort` DESC,`id` ASC LIMIT 0,1 [ RunTime:0.004875s ]
[ SQL ] SHOW COLUMNS FROM `sgb_tdks_cate` [ RunTime:0.005668s ]
[ SQL ] SHOW COLUMNS FROM `sgb_doctors` [ RunTime:0.006320s ]
[ SQL ] SELECT * FROM `sgb_doctors` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `id` = 406 AND `status` = 1 LIMIT 1 [ RunTime:0.004987s ]
[ SQL ] UPDATE `sgb_doctors` SET `browse_num`=`browse_num`+1 WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `id` = 406 AND `status` = 1 [ RunTime:0.008550s ]
[ SQL ] SHOW COLUMNS FROM `sgb_logs_browses` [ RunTime:0.005580s ]
[ SQL ] SELECT * FROM `sgb_logs_browses` WHERE `objType` = 'DOC' AND `objId` = 406 AND `user_id` = 0 AND `click_time` = 20250922 AND `ip` = '216.73.216.11' LIMIT 1 [ RunTime:0.004989s ]
[ SQL ] SHOW COLUMNS FROM `sgb_comment` [ RunTime:0.005967s ]
[ SQL ] SELECT * FROM `sgb_comment` WHERE `status` = 1 AND `display_status` = 1 AND `topic_id` = 406 AND `topic_type` = 'DOC' AND `parent_id` = 0 ORDER BY agree_num desc,comment_time desc LIMIT 0,5 [ RunTime:0.004897s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `sgb_comment` WHERE `status` = 1 AND `topic_id` = 406 AND `topic_type` = 'DOC' AND `parent_id` = 0 LIMIT 1 [ RunTime:0.004833s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `sgb_comment` WHERE `status` = 1 AND `topic_id` = 406 AND `unsatisfied_evaluation` <> '' AND `topic_type` = 'DOC' AND `parent_id` = 0 LIMIT 1 [ RunTime:0.008505s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `sgb_comment` WHERE `status` = 1 AND `topic_id` = 406 AND `satisfied_evaluation` <> '' AND `topic_type` = 'DOC' AND `parent_id` = 0 LIMIT 1 [ RunTime:0.004736s ]
[ SQL ] SHOW COLUMNS FROM `sgb_comment_praise` [ RunTime:0.005585s ]
[ SQL ] SELECT COUNT(*) as count,a.tag_id,b.`name` FROM `sgb_comment_praise` `a` INNER JOIN `sgb_category` `b` ON `a`.`tag_id`=`b`.`id` INNER JOIN `sgb_comment` `c` ON `a`.`cid`=`c`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `a`.`obj_id` = 406 AND `a`.`status` = 1 AND `b`.`isDel` = 0 AND `b`.`status` = 1 AND `a`.`obj_type` = 'DOC' AND `c`.`status` = 1 GROUP BY `a`.`tag_id` LIMIT 10 [ RunTime:0.005945s ]
[ SQL ] SHOW COLUMNS FROM `sgb_doctors_categorys` [ RunTime:0.005366s ]
[ SQL ] SELECT `b`.`name`,`b`.`id` FROM `sgb_doctors_categorys` `a` LEFT JOIN `sgb_category` `b` ON `a`.`cate_id`=`b`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `b`.`isDel` = 0 AND `a`.`doc_id` = '406' AND `b`.`objType` = 'DOCJBSC' [ RunTime:0.004870s ]
[ SQL ] SELECT `b`.`name`,`b`.`id` FROM `sgb_doctors_categorys` `a` LEFT JOIN `sgb_category` `b` ON `a`.`cate_id`=`b`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `b`.`isDel` = 0 AND `a`.`doc_id` = '406' AND `b`.`objType` = 'DOCZYSC' [ RunTime:0.004935s ]
[ SQL ] SHOW COLUMNS FROM `sgb_wikis_cates` [ RunTime:0.005818s ]
[ SQL ] SELECT `web_url` FROM `sgb_wikis_cates` WHERE ( name like '%女性不孕%' ) AND `display_setting` LIKE '%1%' AND `tenants` LIKE ',1,' LIMIT 1 [ RunTime:0.005815s ]
[ SQL ] SELECT `web_url` FROM `sgb_wikis_cates` WHERE ( name like '%反复试管失败%' ) AND `display_setting` LIKE '%1%' AND `tenants` LIKE ',1,' LIMIT 1 [ RunTime:0.005744s ]
[ SQL ] SELECT `web_url` FROM `sgb_wikis_cates` WHERE ( name like '%高龄不孕%' ) AND `display_setting` LIKE '%1%' AND `tenants` LIKE ',1,' LIMIT 1 [ RunTime:0.005693s ]
[ SQL ] SELECT `web_url` FROM `sgb_wikis_cates` WHERE ( name like '%妇产科疾病%' ) AND `display_setting` LIKE '%1%' AND `tenants` LIKE ',1,' LIMIT 1 [ RunTime:0.005665s ]
[ SQL ] SELECT `web_url` FROM `sgb_wikis_cates` WHERE ( name like '%不孕不育%' ) AND `display_setting` LIKE '%1%' AND `tenants` LIKE ',1,' LIMIT 1 [ RunTime:0.005793s ]
[ SQL ] SELECT `web_url` FROM `sgb_wikis_cates` WHERE ( name like '%辅助生殖%' ) AND `display_setting` LIKE '%1%' AND `tenants` LIKE ',1,' LIMIT 1 [ RunTime:0.005727s ]
[ SQL ] SHOW COLUMNS FROM `sgb_hospitals` [ RunTime:0.006470s ]
[ SQL ] SELECT * FROM `sgb_hospitals` WHERE `isDel` = 0 AND `id` = 131 AND `display_setting` LIKE '%1%' AND `tenants` LIKE '%1%' LIMIT 1 [ RunTime:0.007082s ]
[ SQL ] SHOW COLUMNS FROM `sgb_districts` [ RunTime:0.005528s ]
[ SQL ] SELECT * FROM `sgb_districts` WHERE `id` = 163 LIMIT 1 [ RunTime:0.004736s ]
[ SQL ] SELECT * FROM `sgb_districts` WHERE `id` = 163 LIMIT 1 [ RunTime:0.004719s ]
[ SQL ] SELECT * FROM `sgb_districts` WHERE `id` = 163 LIMIT 1 [ RunTime:0.004672s ]
[ SQL ] SELECT * FROM `sgb_districts` WHERE `id` = 115 LIMIT 1 [ RunTime:0.004630s ]
[ SQL ] SHOW COLUMNS FROM `sgb_users_message` [ RunTime:0.005599s ]
[ SQL ] SELECT * FROM `sgb_users_message` WHERE `isDel` = 0 AND `type_id` = 406 AND `user_id` = 0 AND `type` = 'DOC' AND `add_date` = 20250922 LIMIT 1 [ RunTime:0.004765s ]
[ SQL ] SHOW COLUMNS FROM `sgb_wikis` [ RunTime:0.005974s ]
[ SQL ] SELECT `title`,`id`,`content`,`agree_num` FROM `sgb_wikis` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `status` = 1 AND `doctor_id` = 406 ORDER BY `add_time` DESC,`id` DESC LIMIT 0,3 [ RunTime:0.017192s ]
[ SQL ] SHOW COLUMNS FROM `sgb_asks` [ RunTime:0.005997s ]
[ SQL ] SELECT DISTINCT COUNT(*) AS tp_count FROM `sgb_asks` `a` INNER JOIN `sgb_comment` `b` ON `a`.`id`=`b`.`topic_id` WHERE `a`.`display_setting` LIKE '%1%' AND `a`.`tenants` LIKE '%,1,%' AND `a`.`isDel` = 0 AND `a`.`status` = 1 AND `b`.`topic_type` = 'ASK' AND `b`.`from_doctor` = 406 LIMIT 1 [ RunTime:0.119027s ]
[ SQL ] SELECT DISTINCT `a`.`title`,`a`.`id`,`a`.`user_id`,`a`.`is_hot`,`a`.`image`,`a`.`follow_num`,`a`.`content`,`a`.`add_time`,`a`.`browse_num`,`a`.`comment_num`,`a`.`agree_num`,`b`.`from_doctor` AS `doctor_id`,`b`.`create_time` FROM `sgb_asks` `a` INNER JOIN `sgb_comment` `b` ON `a`.`id`=`b`.`topic_id` WHERE `a`.`display_setting` LIKE '%1%' AND `a`.`tenants` LIKE '%,1,%' AND `a`.`isDel` = 0 AND `a`.`status` = 1 AND `b`.`topic_type` = 'ASK' AND `b`.`from_doctor` = 406 ORDER BY `b`.`create_time` DESC,`a`.`id` DESC LIMIT 0,4 [ RunTime:0.125077s ]
[ SQL ] select * from sgb_comment where status=1 AND display_status=1 AND topic_id =4904 AND from_doctor =406 AND topic_type = 'ASK' AND parent_id =0 order by from_doctor > 0 desc,agree_num desc,comment_time desc limit 0,1 [ RunTime:0.004995s ]
[ SQL ] SELECT * FROM `sgb_doctors` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `id` = 406 LIMIT 1 [ RunTime:0.004996s ]
[ SQL ] SHOW COLUMNS FROM `sgb_community_category` [ RunTime:0.005948s ]
[ SQL ] SELECT `a`.`name` FROM `sgb_community_category` `a` INNER JOIN `sgb_community_category_relation` `b` ON `a`.`id`=`b`.`cate_id` WHERE `a`.`display_setting` LIKE '%1%' AND `a`.`tenants` LIKE '%,1,%' AND `a`.`isDel` = 0 AND `a`.`status` = 1 AND `b`.`obj_id` = 4904 AND `a`.`objType` = 'ASK' AND `a`.`parent_id` = 0 GROUP BY `a`.`id` ORDER BY `a`.`id` ASC LIMIT 0,2 [ RunTime:0.004952s ]
[ SQL ] select * from sgb_comment where status=1 AND display_status=1 AND topic_id =4830 AND from_doctor =406 AND topic_type = 'ASK' AND parent_id =0 order by from_doctor > 0 desc,agree_num desc,comment_time desc limit 0,1 [ RunTime:0.004863s ]
[ SQL ] SELECT * FROM `sgb_doctors` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `id` = 406 LIMIT 1 [ RunTime:0.004768s ]
[ SQL ] SELECT `a`.`name` FROM `sgb_community_category` `a` INNER JOIN `sgb_community_category_relation` `b` ON `a`.`id`=`b`.`cate_id` WHERE `a`.`display_setting` LIKE '%1%' AND `a`.`tenants` LIKE '%,1,%' AND `a`.`isDel` = 0 AND `a`.`status` = 1 AND `b`.`obj_id` = 4830 AND `a`.`objType` = 'ASK' AND `a`.`parent_id` = 0 GROUP BY `a`.`id` ORDER BY `a`.`id` ASC LIMIT 0,2 [ RunTime:0.004990s ]
[ SQL ] select * from sgb_comment where status=1 AND display_status=1 AND topic_id =2911 AND from_doctor =406 AND topic_type = 'ASK' AND parent_id =0 order by from_doctor > 0 desc,agree_num desc,comment_time desc limit 0,1 [ RunTime:0.004946s ]
[ SQL ] SELECT * FROM `sgb_doctors` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `id` = 406 LIMIT 1 [ RunTime:0.004813s ]
[ SQL ] SELECT `a`.`name` FROM `sgb_community_category` `a` INNER JOIN `sgb_community_category_relation` `b` ON `a`.`id`=`b`.`cate_id` WHERE `a`.`display_setting` LIKE '%1%' AND `a`.`tenants` LIKE '%,1,%' AND `a`.`isDel` = 0 AND `a`.`status` = 1 AND `b`.`obj_id` = 2911 AND `a`.`objType` = 'ASK' AND `a`.`parent_id` = 0 GROUP BY `a`.`id` ORDER BY `a`.`id` ASC LIMIT 0,2 [ RunTime:0.004841s ]
[ SQL ] select * from sgb_comment where status=1 AND display_status=1 AND topic_id =1087 AND from_doctor =406 AND topic_type = 'ASK' AND parent_id =0 order by from_doctor > 0 desc,agree_num desc,comment_time desc limit 0,1 [ RunTime:0.004896s ]
[ SQL ] SELECT * FROM `sgb_doctors` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `isDel` = 0 AND `id` = 406 LIMIT 1 [ RunTime:0.004824s ]
[ SQL ] SELECT `a`.`name` FROM `sgb_community_category` `a` INNER JOIN `sgb_community_category_relation` `b` ON `a`.`id`=`b`.`cate_id` WHERE `a`.`display_setting` LIKE '%1%' AND `a`.`tenants` LIKE '%,1,%' AND `a`.`isDel` = 0 AND `a`.`status` = 1 AND `b`.`obj_id` = 1087 AND `a`.`objType` = 'ASK' AND `a`.`parent_id` = 0 GROUP BY `a`.`id` ORDER BY `a`.`id` ASC LIMIT 0,2 [ RunTime:0.004925s ]
[ SQL ] SHOW COLUMNS FROM `sgb_doctors_notice` [ RunTime:0.005833s ]
[ SQL ] SELECT * FROM `sgb_doctors_notice` WHERE `isDel` = 0 AND `create_time` >= 1750570697 AND `doc_id` = 406 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.004788s ]
[ SQL ] SELECT `id`,`cn_shortname`,`image`,`disease`,`follow_num`,`doc_years`,`appoint_num`,`auth`,`doc_title` FROM `sgb_doctors` WHERE `display_setting` LIKE '%1%' AND `tenants` LIKE '%,1,%' AND `status` = 1 AND `isDel` = 0 AND `hospital_id` = 131 AND `id` <> 406 ORDER BY `browse_num` DESC LIMIT 0,4 [ RunTime:0.004860s ]
[ SQL ] SELECT `b`.`name`,`b`.`id` FROM `sgb_doctors_categorys` `a` LEFT JOIN `sgb_category` `b` ON `a`.`cate_id`=`b`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `b`.`isDel` = 0 AND `a`.`doc_id` = '2350' AND `b`.`objType` = 'DOCJBSC' [ RunTime:0.004859s ]
[ SQL ] SELECT `b`.`name`,`b`.`id` FROM `sgb_doctors_categorys` `a` LEFT JOIN `sgb_category` `b` ON `a`.`cate_id`=`b`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `b`.`isDel` = 0 AND `a`.`doc_id` = '2187' AND `b`.`objType` = 'DOCJBSC' [ RunTime:0.004747s ]
[ SQL ] SELECT `b`.`name`,`b`.`id` FROM `sgb_doctors_categorys` `a` LEFT JOIN `sgb_category` `b` ON `a`.`cate_id`=`b`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `b`.`isDel` = 0 AND `a`.`doc_id` = '405' AND `b`.`objType` = 'DOCJBSC' [ RunTime:0.004757s ]
[ SQL ] SELECT `b`.`name`,`b`.`id` FROM `sgb_doctors_categorys` `a` LEFT JOIN `sgb_category` `b` ON `a`.`cate_id`=`b`.`id` WHERE `b`.`display_setting` LIKE '%1%' AND `b`.`tenants` LIKE '%,1,%' AND `b`.`isDel` = 0 AND `a`.`doc_id` = '400' AND `b`.`objType` = 'DOCJBSC' [ RunTime:0.004755s ]