Commit 78ed4383 authored by 廖旭伟's avatar 廖旭伟

日均访问次数bug修改

parent 4cfd0a61
......@@ -170,7 +170,7 @@ public class PageEventServiceImpl extends AbstractCRUDServiceImpl<PageEventDao,
}
float a = (float)clickSum;
float b = (float)trendCensusVos.size();
float p = b/a;
float p = a/b;
DecimalFormat decimalFormat=new DecimalFormat(".00");
String s = decimalFormat.format(p);
dayAccessAvg = Float.valueOf(s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment