| | |
| | | case "1": |
| | | // 检测 |
| | | TaskManagementDetectionDetailVO taskManagementDetectionDetailVO = new TaskManagementDetectionDetailVO(); |
| | | taskManagementDetectionDetailVO.setId(task.getId()); |
| | | taskManagementDetectionDetailVO.setVehicleId(vehicle.getId()); |
| | | taskManagementDetectionDetailVO.setTaskUrgencyLevel(task.getTaskUrgencyLevel()); |
| | | taskManagementDetectionDetailVO.setPlateNumber(vehicle.getPlateNumber()); |
| | | taskManagementDetectionDetailVO.setVehicleColor(vehicle.getVehicleColor()); |
| | | taskManagementDetectionDetailVO.setVehicleCode(vehicle.getVehicleCode()); |
| | | taskManagementDetectionDetailVO.setVehicleVin(vehicle.getVehicleVin()); |
| | | taskManagementDetectionDetailVO.setVehicleLocation(task.getVehicleLocation()); |
| | | taskManagementDetectionDetailVO.setTaskCode(task.getTaskCode()); |
| | | // taskManagementDetectionDetailVO.setNetworkDetection(); |
| | | // taskManagementDetectionDetailVO.setVersionVerification(); |
| | | // taskManagementDetectionDetailVO.setCommunicationSelfCheck(); |
| | | // taskManagementDetectionDetailVO.setRemoteSelfCheck(); |
| | | // taskManagementDetectionDetailVO.setCollisionPrevention(); |
| | | // taskManagementDetectionDetailVO.setSensorSelfCheck(); |
| | | // taskManagementDetectionDetailVO.setSensorCleaning(); |
| | | // taskManagementDetectionDetailVO.setSensorCleaningPicture(); |
| | | // taskManagementDetectionDetailVO.setInteractiveScreen(); |
| | | // taskManagementDetectionDetailVO.setInteractiveScreenPicture(); |
| | | // taskManagementDetectionDetailVO.setHelpButton(); |
| | | // taskManagementDetectionDetailVO.setHelpButtonPicture(); |
| | | // taskManagementDetectionDetailVO.setPaymentFunction(); |
| | | // taskManagementDetectionDetailVO.setPaymentFunctionPicture(); |
| | | // taskManagementDetectionDetailVO.setSystemCheck(); |
| | | // taskManagementDetectionDetailVO.setSystemCheckPicture(); |
| | | // taskManagementDetectionDetailVO.setOperationsUserId(); |
| | | // taskManagementDetectionDetailVO.setOperationsUserName(); |
| | | // taskManagementDetectionDetailVO.setCheckTime(); |
| | | |
| | | break; |
| | | case "2": |
| | | // 充电 |
| | |
| | | res.setVehicleLocation(task.getVehicleLocation()); |
| | | res.setVehicleVin(vehicle.getVehicleVin()); |
| | | res.setTaskCode(task.getTaskCode()); |
| | | res.setTaskDescription(task.getTaskDescription()); |
| | | res.setTaskImage(task.getTaskImage()); |
| | | XpTaskHandleDetailRoutine xpTaskHandleDetailRoutine = xpTaskHandleDetailRoutineMapper.selectOne(new LambdaQueryWrapper<XpTaskHandleDetailRoutine>() |
| | | .eq(XpTaskHandleDetailRoutine::getTaskId, id)); |
| | | if (xpTaskHandleDetailRoutine!=null){ |
| | | res.setTaskDescription(xpTaskHandleDetailRoutine.getTaskDescription()); |
| | | res.setTaskImage(xpTaskHandleDetailRoutine.getTaskImage()); |
| | | res.setHandleUserId(task.getHandleUserId()); |
| | | XpOperationsUser operationsUser = xpOperationUserClient.queryById(task.getHandleUserId()).getData(); |
| | | XpOperationsUser operationsUser = xpOperationUserClient.queryById(xpTaskHandleDetailRoutine.getOperationsUserId()).getData(); |
| | | if (operationsUser != null){ |
| | | res.setHandleUserId(operationsUser.getId()); |
| | | res.setHandleUserName(operationsUser.getNickName()); |
| | | } |
| | | } |
| | | |
| | | res.setHandleTime(task.getHandleTime()); |
| | | res.setId(id); |
| | | res.setTaskUrgencyLevel(task.getTaskUrgencyLevel()); |