Преглед на файлове

去掉获取项目信息代码注释

wangchenghong преди 3 години
родител
ревизия
2bd6e86e41
променени са 1 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 6 6
      src/main/java/com/persagy/apm/energy/report/common/service/impl/CommonServiceImpl.java

+ 6 - 6
src/main/java/com/persagy/apm/energy/report/common/service/impl/CommonServiceImpl.java

@@ -165,8 +165,8 @@ public class CommonServiceImpl implements CommonService {
         hotelProjectAlarmDealInfo.setHandledPercent(completeRate);
         hotelProjectAlarmDealInfo.setTotalCount(workCount);
         // 获取项目信息
-//        ReportProjectVO reportProjectInfo = saasWebService.getReportProjectInfo(projectId);
-//        hotelProjectAlarmDealInfo.setProjectName(null == reportProjectInfo ? "" : reportProjectInfo.getProjectName());
+        ReportProjectVO reportProjectInfo = saasWebService.getReportProjectInfo(projectId);
+        hotelProjectAlarmDealInfo.setProjectName(null == reportProjectInfo ? "" : reportProjectInfo.getProjectName());
         return hotelProjectAlarmDealInfo;
     }
 
@@ -350,8 +350,8 @@ public class CommonServiceImpl implements CommonService {
             hotelProjectEnergyWorkerOrderInfo.setDetailInfo(hotelProjectEnergyWorkOrderItemList);
             hotelProjectEnergyWorkerOrderInfo.setTotalEnergySave(totalEnergySave);
             // 获取项目信息
-//            ReportProjectVO reportProjectInfo = saasWebService.getReportProjectInfo(projectId);
-//            hotelProjectEnergyWorkerOrderInfo.setProjectName(null == reportProjectInfo ? "" : reportProjectInfo.getProjectName());
+            ReportProjectVO reportProjectInfo = saasWebService.getReportProjectInfo(projectId);
+            hotelProjectEnergyWorkerOrderInfo.setProjectName(null == reportProjectInfo ? "" : reportProjectInfo.getProjectName());
 
         } catch (Exception e) {
 
@@ -371,8 +371,8 @@ public class CommonServiceImpl implements CommonService {
         }
         HotelProjectMaintenanceBaseInfo hotelProjectMaintenanceBaseInfo = iDataAnalysisWebService.getHotelProjectMaintenanceBaseInfo(userCode, groupCode, projectId, reportDate);
         // 获取项目信息
-//        ReportProjectVO reportProjectInfo = saasWebService.getReportProjectInfo(projectId);
-//        hotelProjectMaintenanceBaseInfo.setProjectName(null == reportProjectInfo ? "" : reportProjectInfo.getProjectName());
+        ReportProjectVO reportProjectInfo = saasWebService.getReportProjectInfo(projectId);
+        hotelProjectMaintenanceBaseInfo.setProjectName(null == reportProjectInfo ? "" : reportProjectInfo.getProjectName());
         return hotelProjectMaintenanceBaseInfo;
     }