Commit ffae41f7 authored by 赵啸非's avatar 赵啸非

添加首页统计模块 统计近一周

parent 1c49a837
......@@ -43,15 +43,11 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
public void excuteTask(ITask task) throws AppException {
log.info("站点评价统计任务");
//统计最近一周
for (int i = 1; i < 7; i++) {
DateTime beforeDate = DateUtil.offsetDay(new Date(), -i);
int year = beforeDate.year();
int month = beforeDate.month() + 1;
int day = beforeDate.dayOfMonth();
/* int year = DateUtil.date().year();
int month = DateUtil.date().month() + 1;
int day = DateUtil.date().dayOfMonth();*/
......
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