Commit b5b346db by 王祖波

Revert "test"

This reverts commit a4aabd8f.
parent 8d803a9e
...@@ -180,11 +180,11 @@ public class WeekMonthReportBuilder { ...@@ -180,11 +180,11 @@ public class WeekMonthReportBuilder {
String bizDate = null; String bizDate = null;
if (MaterialReportType.WEEK.getCode().equals(reportType)) { if (MaterialReportType.WEEK.getCode().equals(reportType)) {
// 周报 // 周报
bizDate = DateUtil.beginOfWeek(DateUtil.date()).toString("yyyy-MM-dd"); bizDate = DateUtil.beginOfWeek(DateUtil.lastWeek()).toString("yyyy-MM-dd");
} else { } else {
// 月报 // 月报
bizDate = DateUtil.beginOfMonth(DateUtil.date()).toString("yyyy-MM"); bizDate = DateUtil.beginOfMonth(DateUtil.lastMonth()).toString("yyyy-MM");
} }
log.info(DateUtil.lastMonth().toDateStr()); log.info(DateUtil.lastMonth().toDateStr());
log.info("计算周月报的周期:{}",bizDate); log.info("计算周月报的周期:{}",bizDate);
......
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