|
@@ -6,7 +6,7 @@ import cn.com.ty.lift.business.emergency.service.EmergencyRepairService;
|
|
|
import cn.com.ty.lift.business.framework.conf.SystemConfiguration;
|
|
|
import cn.com.ty.lift.business.framework.util.MessageUtils;
|
|
|
import cn.com.ty.lift.business.library.dao.entity.LiftBrand;
|
|
|
-import cn.com.ty.lift.business.maintenance.service.MaintenanceRecordService;
|
|
|
+import cn.com.ty.lift.business.maintenance.service.MaintenancePlanService;
|
|
|
import cn.com.ty.lift.common.constants.RedisConstants;
|
|
|
import cn.com.ty.lift.common.model.AreaCode;
|
|
|
import cn.com.ty.lift.common.utils.ValuePool;
|
|
@@ -46,7 +46,7 @@ public class CommonController {
|
|
|
private AnnualInspectionService annualInspectionService;
|
|
|
private EmergencyRepairService emergencyRepairService;
|
|
|
private CapitalRepairLiftRelevanceService capitalRepairLiftRelevanceService;
|
|
|
- private MaintenanceRecordService maintenanceRecordService;
|
|
|
+ private MaintenancePlanService maintenancePlanService;
|
|
|
|
|
|
/**
|
|
|
* @return RestResponse 省、市、区树形结构列表
|
|
@@ -168,7 +168,7 @@ public class CommonController {
|
|
|
long inspection = annualInspectionService.countDoingByUser(request);
|
|
|
long repair = emergencyRepairService.countDoingByUser(request);
|
|
|
long capital = capitalRepairLiftRelevanceService.countDoingByUser(request);
|
|
|
- long maintain = maintenanceRecordService.countDoingByUser(request);
|
|
|
+ long maintain = maintenancePlanService.countWaitingMaintenanceByUser(request);
|
|
|
CommonResponse common = new CommonResponse();
|
|
|
common.setInspection(inspection);
|
|
|
common.setRepair(repair);
|