[ DB ] CONNECT:[ UseTime:0.001431s ] mysql:host=mysql;port=3306;dbname=www.iximei.cn;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `mr_hospital_active` [ RunTime:0.002240s ]
[ SQL ] SELECT `ha`.*,`h`.`name` FROM `mr_hospital_active` `ha` LEFT JOIN `mr_hospital` `h` ON `ha`.`hospital_id`=`h`.`id` WHERE ( `ha`.`id` = '30' ) ORDER BY `list_order`,`update_time` DESC LIMIT 1 [ RunTime:0.003717s ]
[ SQL ] SHOW COLUMNS FROM `mr_hospital` [ RunTime:0.001810s ]
[ 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.003890s ]
[ 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.005412s ]
[ 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.002518s ]
[ SQL ] SHOW COLUMNS FROM `mr_project_category` [ RunTime:0.004957s ]
[ 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.004658s ]
[ 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.103630s ]
本地医院推荐