Commit a4aabd8f by 王祖波

test

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