[ DB ] CONNECT:[ UseTime:0.000353s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] select a.hid,a.name,a.alias_name,a.logo,a.thum,a.province,a.city,a.region,a.meal_num,a.yuyue_num,a.score from ebx_hospital as a where a.status = 1 and a.is_show = 1 and FIND_IN_SET(1,a.kind_str) AND a.city = '251' order by a.add_time desc limit 20 [ RunTime:0.000558s ]
[ SQL ] select count(DISTINCT a.hid) as c from ebx_hospital as a left join ebx_hospital_tags as b on a.hid = b.hid where a.status = 1 and a.is_show = 1 AND FIND_IN_SET(1,a.kind_str) AND a.`region` = '10244' AND a.city = '251' [ RunTime:0.000545s ]
[ SQL ] select a.* from ebx_hospital as a left join ebx_hospital_tags as b on a.hid = b.hid where a.status = 1 and a.is_show = 1 AND FIND_IN_SET(1,a.kind_str) AND a.`region` = '10244' AND a.city = '251' group by a.hid order by a.weight asc , a.hid desc LIMIT 0,10 [ RunTime:0.000956s ]
[ SQL ] select htc.`name`,htc.`number` from ebx_hospital_tag_config as htc
left join ebx_hospital_tags as ht on htc.number=ht.tag_id
left join ebx_hospital as h on ht.hid=h.hid
where htc.`type`='hospital_mytag' and htc.`deleted`=0 and htc.`is_open`=1
and ht.`type`='hospital_mytag' and ht.hid=90 order by htc.weight asc [ RunTime:0.000362s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000574s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 90 AND `type` = 'tijian_level' [ RunTime:0.000251s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_meal` [ RunTime:0.000657s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_hospital_meal` WHERE `hid` = 90 AND `status` = 1 AND `is_upper` = 1 LIMIT 1 [ RunTime:0.000226s ]
[ SQL ] select `id`,`name`,`area_code`,`level` from `ebx_region` where 1 = 1 AND parent_id = '251' order by weight asc limit 50 [ RunTime:0.000431s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000638s ]
[ SQL ] SELECT * FROM `ebx_hospital_tag_config` WHERE `type` = 'tijian_level' AND `deleted` = 0 AND `is_open` = 1 ORDER BY `weight` desc,`add_time` desc [ RunTime:0.000390s ]
[ SQL ] SELECT * FROM `ebx_hospital_tag_config` WHERE `type` = 'tijian_service' AND `deleted` = 0 AND `is_open` = 1 ORDER BY `weight` desc,`add_time` desc [ RunTime:0.000329s ]
[ SQL ] SHOW COLUMNS FROM `ebx_region` [ RunTime:0.000612s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 10244 LIMIT 1 [ RunTime:0.000188s ]
[ SQL ] SELECT `name` FROM `ebx_hospital_tag_config` WHERE `type` = 'tijian_level' AND `number` = 0 LIMIT 1 [ RunTime:0.000201s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 10244 LIMIT 1 [ RunTime:0.000173s ]
[ SQL ] select `id`,`name`,`area_code`,`level` from `ebx_region` where 1 = 1 AND parent_id = '251' order by weight asc limit 50 [ RunTime:0.000444s ]
[ SQL ] select count(*) as c from ebx_hospital as a where 1 = 1 AND a.status = 1 and a.is_show = 1 AND a.city = '251' AND a.region=10244 limit 1 [ RunTime:0.000441s ]