[ DB ] CONNECT:[ UseTime:0.001208s ] mysql:host=mysql;port=3306;dbname=www.iximei.cn;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `mr_hospital_active` [ RunTime:0.003577s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `ha`.`id` = '29' ) ORDER BY `list_order`,`update_time` DESC LIMIT 1 [ RunTime:0.002281s ]
[ SQL ] SHOW COLUMNS FROM `mr_hospital` [ RunTime:0.001887s ]
[ SQL ] SELECT `h`.*,p.area_name as province_name,c.area_name as city_name,d.area_name as district_name FROM `mr_hospital` `h` LEFT JOIN `mr_region` `p` ON `h`.`province`=`p`.`area_id` LEFT JOIN `mr_region` `c` ON `h`.`city`=`c`.`area_id` LEFT JOIN `mr_region` `d` ON `h`.`district`=`d`.`area_id` WHERE ( `h`.`id` = '4986' ) LIMIT 1 [ RunTime:0.000862s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `hospital_id` = 4986 ) [ RunTime:0.001040s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `hospital_id` = 4986 ) ORDER BY `list_order`,`update_time` DESC LIMIT 0,20 [ RunTime:0.000620s ]
[ SQL ] SHOW COLUMNS FROM `mr_project_category` [ RunTime:0.002411s ]
[ SQL ] SELECT `id`,`name`,`icon`,`parent_id` FROM `mr_project_category` WHERE `status` = 1 AND `parent_id` = 0 ORDER BY `list_order` LIMIT 12 [ RunTime:0.000942s ]
[ SQL ] SELECT `h`.`name`,`h`.`id` FROM `mr_hospital` `h` LEFT JOIN `mr_region` `p` ON `h`.`province`=`p`.`area_id` LEFT JOIN `mr_region` `c` ON `h`.`city`=`c`.`area_id` LEFT JOIN `mr_region` `d` ON `h`.`district`=`c`.`area_id` INNER JOIN ( SELECT `id` FROM `mr_hospital` WHERE ( `district` = 430111 ) ORDER BY `list_order`,`update_time` DESC ) `w_order` ON `w_order`.`id`=`h`.`id` LIMIT 5 [ RunTime:0.071634s ]
本地医院推荐