Browse Source

默认月份

dev_shibei_match
zxc 5 years ago
parent
commit
a1c1e59d9d
  1. 4
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenExtractServiceImpl.java

4
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenExtractServiceImpl.java

@ -108,8 +108,8 @@ public class ScreenExtractServiceImpl implements ScreenExtractService {
} else if (StringUtils.isNotBlank(formDTO.getMonthId())) {
extractMonthly(customerId, formDTO.getMonthId());
} else {
String dateId = LocalDate.now().minusMonths(NumConstant.ONE).toString().replace("-", "");
extractMonthly(customerId, dateId);
String monthId = LocalDate.now().minusMonths(NumConstant.ONE).toString().replace("-", "").substring(NumConstant.ZERO,NumConstant.SIX);
extractMonthly(customerId, monthId);
}
});
}

Loading…
Cancel
Save