[ DB ] CONNECT:[ UseTime:0.001230s ] mysql:host=mysql;port=3306;dbname=www.iximei.cn;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `mr_hospital_active` [ RunTime:0.001961s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `ha`.`id` = '27' ) ORDER BY `list_order`,`update_time` DESC LIMIT 1 [ RunTime:0.000843s ]
[ SQL ] SHOW COLUMNS FROM `mr_hospital` [ RunTime:0.053355s ]
[ 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` = '5283' ) LIMIT 1 [ RunTime:0.001535s ]
[ 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` = 5283 ) [ RunTime:0.000869s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `hospital_id` = 5283 ) ORDER BY `list_order`,`update_time` DESC LIMIT 0,20 [ RunTime:0.000576s ]
[ SQL ] SHOW COLUMNS FROM `mr_project_category` [ RunTime:0.002155s ]
[ 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.000984s ]
[ 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` = 440304 ) ORDER BY `list_order`,`update_time` DESC ) `w_order` ON `w_order`.`id`=`h`.`id` LIMIT 5 [ RunTime:0.080242s ]
本地医院推荐