Browse Source

设备维修月统计数据为空

2 years ago
parent
commit
7760d6a742

+ 3 - 3
platform-service/src/main/java/com/platform/service/repair/impl/RepairApplicationFormServiceImpl.java

@@ -1454,9 +1454,9 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
             vo.setYear(map.get("searchStartTimeMonth").getYear());
             vo.setYear(map.get("searchStartTimeMonth").getYear());
             vo.setMonth(map.get("searchStartTimeMonth").getMonthValue());
             vo.setMonth(map.get("searchStartTimeMonth").getMonthValue());
             for (RepairApplicationFormVO repairApplicationForm : list) {
             for (RepairApplicationFormVO repairApplicationForm : list) {
-                if (repairApplicationForm.getDealMinutes() == null) {
-                    continue;
-                }
+//                if (repairApplicationForm.getDealMinutes() == null) {
+//                    continue;
+//                }
                 if (type == 1) {
                 if (type == 1) {
                     double minutes = repairApplicationForm.getDealMinutes();
                     double minutes = repairApplicationForm.getDealMinutes();
                     if (minutes < 24.0) {
                     if (minutes < 24.0) {