| | |
| | | |
| | | public void setBusyStatus(Short status) { |
| | | this.busyStatus = status; |
| | | this.busyStatusType = ShuttleStatusType.get(status); |
| | | this.busyStatusType = ShuttleStatusType.get(status.intValue()); |
| | | } |
| | | |
| | | public void setBusyStatus(ShuttleStatusType type) { |
| | |
| | | BasShuttleErrService basShuttleErrService = SpringUtils.getBean(BasShuttleErrService.class); |
| | | BasShuttleErr basShuttleErr = basShuttleErrService.queryByCode(this.statusErrorCode.intValue()); |
| | | if (basShuttleErr == null) { |
| | | return null; |
| | | return this.statusErrorCode.toString(); |
| | | } |
| | | return basShuttleErr.getErrName(); |
| | | } |