Commit a8051bb6 by songyinghui

feat: 周报月报还原

parent 03a6959d
......@@ -159,13 +159,11 @@ public class MaterialReportBuilder {
String bizDate = null;
if (MaterialReportType.WEEK.getCode().equals(reportType)) {
// 周报
//bizDate = DateUtil.beginOfWeek(DateUtil.lastWeek()).toString("yyyy-MM-dd");
bizDate = DateUtil.beginOfWeek(new Date()).toString("yyyy-MM-dd");
bizDate = DateUtil.beginOfWeek(DateUtil.lastWeek()).toString("yyyy-MM-dd");
} else {
// 月报
//bizDate = DateUtil.beginOfMonth(DateUtil.lastMonth()).toString("yyyy-MM");
bizDate = DateUtil.beginOfMonth(new Date()).toString("yyyy-MM");
bizDate = DateUtil.beginOfMonth(DateUtil.lastMonth()).toString("yyyy-MM");
}
return 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