Lius
2024-05-09 efc5dece153d8e51f9e18e136a35558c4ae8a894
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/MaintenanceStandardDetailController.java
@@ -158,7 +158,7 @@
     */
    @GetMapping("getPeriodicMaintenanceCycle")
    public Result<?> getPeriodicMaintenanceCycle(@RequestParam("equipmentId") String equipmentId) {
            Equipment equipment = equipmentService.getById(equipmentId);
        Equipment equipment = equipmentService.getById(equipmentId);
        List<MaintenanceCycleVo> maintenanceCycles = maintenanceStandardDetailService.getPeriodicMaintenanceCycle(equipment.getEquipmentImportanceId());
        return Result.ok(maintenanceCycles);
    }