|
@@ -82,7 +82,7 @@ public class StatisticService {
|
|
|
int value;
|
|
int value;
|
|
|
// 周
|
|
// 周
|
|
|
if (type == 0) {
|
|
if (type == 0) {
|
|
|
- value = now.getDayOfWeek().getValue() - 1;
|
|
|
|
|
|
|
+ value = now.getDayOfWeek().getValue();
|
|
|
} else if (type == 1) {
|
|
} else if (type == 1) {
|
|
|
value = now.getDayOfMonth() - 1;
|
|
value = now.getDayOfMonth() - 1;
|
|
|
} else {
|
|
} else {
|
|
@@ -123,7 +123,7 @@ public class StatisticService {
|
|
|
int value;
|
|
int value;
|
|
|
// 周
|
|
// 周
|
|
|
if (type == 0) {
|
|
if (type == 0) {
|
|
|
- value = now.getDayOfWeek().getValue() - 1;
|
|
|
|
|
|
|
+ value = now.getDayOfWeek().getValue();
|
|
|
} else if (type == 1) {
|
|
} else if (type == 1) {
|
|
|
value = now.getDayOfMonth() - 1;
|
|
value = now.getDayOfMonth() - 1;
|
|
|
} else {
|
|
} else {
|