diff --git a/productionboard/src/main/java/com/productionboard/config/InterceptorConfig.java b/productionboard/src/main/java/com/productionboard/config/InterceptorConfig.java index 2f44efc..58b20bb 100644 --- a/productionboard/src/main/java/com/productionboard/config/InterceptorConfig.java +++ b/productionboard/src/main/java/com/productionboard/config/InterceptorConfig.java @@ -10,6 +10,6 @@ public class InterceptorConfig implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry registry) { - registry.addInterceptor(new AInterceptor()).addPathPatterns("/**"); + //registry.addInterceptor(new AInterceptor()).addPathPatterns("/**"); } } diff --git a/productionboard/src/main/java/com/productionboard/service/impl/TankShellDeviceInfoServiceImpl.java b/productionboard/src/main/java/com/productionboard/service/impl/TankShellDeviceInfoServiceImpl.java index b974e2c..b33adb7 100644 --- a/productionboard/src/main/java/com/productionboard/service/impl/TankShellDeviceInfoServiceImpl.java +++ b/productionboard/src/main/java/com/productionboard/service/impl/TankShellDeviceInfoServiceImpl.java @@ -127,7 +127,7 @@ public class TankShellDeviceInfoServiceImpl implements ITankShellDeviceInfoServi if(tankShellDeviceDataInformation != null){ result[4] = tankShellDeviceDataInformation.getRunTime(); result[5] = tankShellDeviceDataInformation.getStopTime(); - result[6] = tankShellDeviceDataInformation.getDeviceOee() + "%"; + result[6] = tankShellDeviceDataInformation.getDeviceOee() == null ?"0": tankShellDeviceDataInformation.getDeviceOee()+ "%"; result[7] = tankShellDeviceDataInformation.getCount()+""; result[8] = tankShellDeviceDataInformation.getLossTime(); result[9] = tankShellDeviceDataInformation.getDeviceTakt(); diff --git a/productionboard/src/main/resources/application.yml b/productionboard/src/main/resources/application.yml index bea2bcb..142f6dd 100644 --- a/productionboard/src/main/resources/application.yml +++ b/productionboard/src/main/resources/application.yml @@ -12,6 +12,6 @@ mybatis-plus: mapper-locations: classpath*:/mapper/**Mapper.xml server: - port: 6069 + port: 6070 -in_id: 1 \ No newline at end of file +in_id: 2 \ No newline at end of file