|
@@ -66,7 +66,7 @@ public class WorkOrderStatisticsController {
|
|
|
chainEndDate = subMonth(chainStartDate, 1);
|
|
|
} else if (statsType == 1) {
|
|
|
startDate = String.format("%s-01-01", startDate);
|
|
|
- endDate = subMonth(startDate, 1);
|
|
|
+ endDate = subYear(startDate, 1);
|
|
|
|
|
|
sameStartDate = subYear(startDate, -1);
|
|
|
sameEndDate = subYear(sameStartDate, 1);
|