N
汇总量值sum(incr_cnt)sum(transfer_out_cnt)sum(accumulate_cnt)
startDate==endDate
是否查省区
Y
统计日期where summary_date >=? and <=?
是否查全国
统计日期类型where summary_date_type=?
分组统计group by region_code+summary_date_type+summary_date
定位具体省区where region_code=?
只查一天,往前推7天;startDate = endDate-7
定位具体中心where org_code=?
分组统计group by summary_date_type+summary_date
结束
开始
分组统计group by org_code+summary_date_type+summary_date