| | |
| | | return Arrays.asList( |
| | | "sys_host", |
| | | "sys_user_role", |
| | | "sys_role_menu" |
| | | "sys_role_menu", |
| | | "wcs_bas_shuttle_err", |
| | | "wcs_bas_lift_err" |
| | | ).contains(tableName); |
| | | } |
| | | } |
| | |
| | | BasLiftErrService basLiftErrService = SpringUtils.getBean(BasLiftErrService.class); |
| | | BasLiftErr liftErr = basLiftErrService.getOne(new LambdaQueryWrapper<BasLiftErr>() |
| | | .eq(BasLiftErr::getErrorCode, this.errorCode) |
| | | .eq(BasLiftErr::getHostId, this.device.getHostId()) |
| | | .eq(BasLiftErr::getDevicePlc, this.device.getDevicePlc())); |
| | | if (liftErr != null) { |
| | | return this.errorCode + "-" + liftErr.getErrName(); |
| | |
| | | BasShuttleErrService basShuttleErrService = SpringUtils.getBean(BasShuttleErrService.class); |
| | | BasShuttleErr shuttleErr = basShuttleErrService.getOne(new LambdaQueryWrapper<BasShuttleErr>() |
| | | .eq(BasShuttleErr::getErrorCode, this.errorCode) |
| | | .eq(BasShuttleErr::getHostId, this.device.getHostId()) |
| | | .eq(BasShuttleErr::getDevicePlc, this.device.getDevicePlc())); |
| | | if (shuttleErr != null) { |
| | | return this.errorCode + "-" + shuttleErr.getErrName(); |