change - 箱壳设备看板OEE数据为null

master
wenjy 2 years ago
parent 46f7c06a9b
commit e71795cf77

@ -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("/**");
}
}

@ -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();

@ -12,6 +12,6 @@ mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
server:
port: 6069
port: 6070
in_id: 1
in_id: 2
Loading…
Cancel
Save