@Select("select report_date reportDate,advertiser_id advertiserId,advertiser_name advertiserName,code_id codeId,ecpm,cpc,exposure,click,income from advert_data_count t where report_date>= #{startTime} and report_date<=#{endTime}")
@Select("select report_date reportDate,t.advertiser_id advertiserId,advertiser_name advertiserName,code_id codeId,ecpm,cpc,exposure,click,income from advert_data_count t inner join (select advertiser_id from advertiser_user_map where user_id=#{userId} and status=1) t1 on t.advertiser_id=t1.advertiser_id where report_date>= #{startTime} and report_date<=#{endTime}")
@Select("select count(*) from advert_data_count t where report_date>= #{startTime} and report_date<=#{endTime}")
@Select("select count(*) from advert_data_count t inner join (select advertiser_id from advertiser_user_map where user_id=#{userId} and status=1) t1 on t.advertiser_id=t1.advertiser_id where report_date>= #{startTime} and report_date<=#{endTime}")