[ SQL ] SHOW COLUMNS FROM `mr_hospital` [ RunTime:0.002259s ]
[ 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` = '37' ) LIMIT 1 [ RunTime:0.001021s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mr_doctors` `d` LEFT JOIN `mr_hospital` `h` ON `d`.`hospital_id`=`h`.`id` LEFT JOIN `mr_region` `r` ON `h`.`province`=`r`.`area_id` WHERE ( `hospital_id` = 37 AND `d`.`name` LIKE '%%' ) [ RunTime:0.250301s ]
[ SQL ] SELECT `d`.*,`h`.`province`,`h`.`city`,`h`.`district`,`r`.`area_name` FROM `mr_doctors` `d` LEFT JOIN `mr_hospital` `h` ON `d`.`hospital_id`=`h`.`id` LEFT JOIN `mr_region` `r` ON `h`.`province`=`r`.`area_id` WHERE ( `hospital_id` = 37 AND `d`.`name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,12 [ RunTime:3.176278s ]
[ SQL ] SHOW COLUMNS FROM `mr_project_category` [ RunTime:0.003761s ]
[ 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.000819s ]
[ 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` = 110105 ) ORDER BY `list_order`,`update_time` DESC ) `w_order` ON `w_order`.`id`=`h`.`id` LIMIT 5 [ RunTime:0.008595s ]
本地医院推荐