diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/rest/CockpitController.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/rest/CockpitController.java index 2e74f4e..0dc2fb5 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/rest/CockpitController.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/rest/CockpitController.java @@ -1,5 +1,6 @@ package org.nl.wms.cockpit.rest; +import cn.dev33.satoken.annotation.SaIgnore; import org.apache.commons.lang3.StringUtils; import org.nl.modules.common.api.CommonResult; import org.nl.modules.common.api.RestBusinessTemplate; @@ -19,7 +20,7 @@ import java.util.List; import java.util.Map; /** - * 大屏数据1 + * 大屏数据 * * @author gbx * @since 2023/2/27 @@ -29,6 +30,7 @@ import java.util.Map; @Api(tags = "大屏数据") @RequestMapping("/api/cockpit") @Slf4j +@SaIgnore public class CockpitController{ private final CockpitService cockpitService; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/CockpitService.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/CockpitService.java index 7ad3690..24f4f02 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/CockpitService.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/CockpitService.java @@ -9,7 +9,7 @@ import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** - * 大屏服务接口1 + * 大屏服务接口 * * @author gbx * @date 2023-02-27 diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/DeviceStatusDto.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/DeviceStatusDto.java index aaf437e..6e76042 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/DeviceStatusDto.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/DeviceStatusDto.java @@ -11,7 +11,7 @@ import java.math.BigDecimal; /** * @author gbx - * 设备状态1 + * 设备状态 * @date 2023-02-28 **/ @Data diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/ProductionStatisticsDto.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/ProductionStatisticsDto.java index 76d924d..6c3ec15 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/ProductionStatisticsDto.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/dto/ProductionStatisticsDto.java @@ -10,7 +10,7 @@ import java.math.BigDecimal; /** * @author gbx - * 成品完成情况1 + * 成品完成情况 * @since 2023/2/27 */ @Data diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java index 1c88724..402f036 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java @@ -24,7 +24,7 @@ import lombok.extern.slf4j.Slf4j; import cn.hutool.core.util.ObjectUtil; /** - * 大屏服务实现1 + * 大屏服务实现 * * @author gbx * @date 2023-02-27 @@ -281,8 +281,9 @@ public class CockpitServiceImpl implements CockpitService{ runningStatusList.add(DeviceStatisticsDto.builder().workorder_procedure("包装").deviceQty(9).faultyDevice(3).build()); //近一个月故障次数 List faultyStatusList = new ArrayList<>(); - faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机4").faultyFrequency(91).build()); - faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机9").faultyFrequency(82).build()); + faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机4").faultyFrequency(90).build()); + faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机9").faultyFrequency(85).build()); + faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机11").faultyFrequency(83).build()); faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("混料机5").faultyFrequency(71).build()); faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机3").faultyFrequency(33).build()); //最近5个故障设备