[ DB ] CONNECT:[ UseTime:0.055750s ] mysql:host=mysql;port=3306;dbname=www.iximei.cn;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `mr_hospital_active` [ RunTime:0.003447s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `ha`.`id` = '28' ) ORDER BY `list_order`,`update_time` DESC LIMIT 1 [ RunTime:0.001911s ]
[ SQL ] SHOW COLUMNS FROM `mr_hospital` [ RunTime:0.003129s ]
[ 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` = '6358' ) LIMIT 1 [ RunTime:0.002329s ]
[ 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` = 6358 ) [ RunTime:0.002542s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `hospital_id` = 6358 ) ORDER BY `list_order`,`update_time` DESC LIMIT 0,20 [ RunTime:0.000722s ]
[ SQL ] SHOW COLUMNS FROM `mr_project_category` [ RunTime:0.003597s ]
[ 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.001590s ]
[ 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` = 511502 ) ORDER BY `list_order`,`update_time` DESC ) `w_order` ON `w_order`.`id`=`h`.`id` LIMIT 5 [ RunTime:0.099055s ]
本地医院推荐