[ DB ] CONNECT:[ UseTime:0.002755s ] mysql:host=rm-2vc43t1s91j7l21v9.mysql.cn-chengdu.rds.aliyuncs.com;port=3306;dbname=tg_sgcognac;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `app_zhifa_links` [ RunTime:0.002036s ]
[ SQL ] SELECT * FROM `app_zhifa_links` ORDER BY `order_sort` ASC [ RunTime:0.000642s ]
[ SQL ] SHOW COLUMNS FROM `sys_areainfo` [ RunTime:0.001559s ]
[ SQL ] SELECT * FROM `sys_areainfo` WHERE ( id='150000' ) LIMIT 1 [ RunTime:0.000806s ]
[ SQL ] SHOW COLUMNS FROM `sys_doctor` [ RunTime:0.001519s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM `sys_doctor` `doctor` INNER JOIN `sys_areainfo` `area` ON `area`.`id`=`doctor`.`area_id` INNER JOIN `app_hospitals` `hospital` ON `doctor`.`hospital_id`=`hospital`.`id` INNER JOIN `sys_doctor_project` `adp` ON `adp`.`doctor_id`=`doctor`.`id` WHERE `doctor`.`status` = 0 AND `adp`.`project_id` IN (20066,20114,20145,20146,20147,20148,20149,20206,20510,20511,20512,20513,20514,20515,20516,20517,20518,20519,20520,20521,20522,20523,20524,20525,20526,20527,20528,20529) AND `hospital`.`province_id` = '150000' GROUP BY `doctor`.`id` ) `_group_count_` [ RunTime:0.001382s ]
[ SQL ] SELECT `doctor`.`id`,`doctor`.`name`,`doctor`.`img_figure`,`doctor`.`abstract`,hospital.name as hospital_name,`doctor`.`position` FROM `sys_doctor` `doctor` INNER JOIN `sys_areainfo` `area` ON `area`.`id`=`doctor`.`area_id` INNER JOIN `app_hospitals` `hospital` ON `doctor`.`hospital_id`=`hospital`.`id` INNER JOIN `sys_doctor_project` `adp` ON `adp`.`doctor_id`=`doctor`.`id` WHERE `doctor`.`status` = 0 AND `adp`.`project_id` IN (20066,20114,20145,20146,20147,20148,20149,20206,20510,20511,20512,20513,20514,20515,20516,20517,20518,20519,20520,20521,20522,20523,20524,20525,20526,20527,20528,20529) AND `hospital`.`province_id` = '150000' GROUP BY `doctor`.`id` ORDER BY `doctor`.`create_time` DESC,`doctor`.`id` DESC LIMIT 0,10 [ RunTime:0.001454s ]
[ SQL ] SHOW COLUMNS FROM `sys_doctor_project` [ RunTime:0.001399s ]
[ SQL ] SELECT `dp`.`project_id`,p.name project_name,`dp`.`doctor_id` FROM `sys_doctor_project` `dp` INNER JOIN `sys_project` `p` ON `dp`.`project_id`=`p`.`id` WHERE `dp`.`doctor_id` IN ('') [ RunTime:0.000679s ]
[ SQL ] SHOW COLUMNS FROM `sys_consult` [ RunTime:0.001431s ]
[ SQL ] SELECT `news`.`id`,`news`.`title`,`news`.`create_time`,`news`.`title_img`,`news`.`view_num`,`news`.`is_show`,`news`.`open_time`,`news`.`type` FROM `sys_consult` `news` WHERE `news`.`open_time` < '2024-11-07 15:34:42' AND `news`.`is_show` = 1 ORDER BY `news`.`is_top` DESC,`news`.`view_num` DESC LIMIT 7 [ RunTime:0.000827s ]