|
|
@@ -607,7 +607,7 @@ public class ExpenseFlowServiceImpl extends SuperService implements ExpenseFlowS
|
|
|
if (statisticType == StatisticType.Month) {
|
|
|
// 按月
|
|
|
int month = DateUtils.getCurrentMonthInYear();
|
|
|
- for (int i = 0; i <= month; i++) {
|
|
|
+ for (int i = 1; i <= month; i++) {
|
|
|
String key = String.valueOf(i);
|
|
|
BigDecimal value = BigDecimal.ZERO;
|
|
|
if (map.containsKey(key)) {
|
|
|
@@ -630,7 +630,7 @@ public class ExpenseFlowServiceImpl extends SuperService implements ExpenseFlowS
|
|
|
} else if (statisticType == StatisticType.Week) {
|
|
|
// 按月
|
|
|
int week = DateUtils.getCurrentWeekInYear();
|
|
|
- for (int i = 0; i <= week; i++) {
|
|
|
+ for (int i = 1; i <= week; i++) {
|
|
|
String key = String.valueOf(i);
|
|
|
BigDecimal value = BigDecimal.ZERO;
|
|
|
if (map.containsKey(key)) {
|