select count(member_id),a.travel_city_id from (select distinct(member_id),travel_city_id from ads_brand_contact where is_member=1 and date_format(now(),'%Y-%m-%d')=substr(register_time,1,10)) a where a.travel_city_id=?
select count(member_id),a.travel_city_id
from (select distinct(member_id),travel_city_id
from ads_brand_contact
where is_member=1
and date_format(now(),'%Y-%m-%d')=substr(register_time,1,10)) a
where a.travel_city_id=(select travel_city_id from 员工信息表 where 用户名='${fine_username}')