#
Junjie
2024-10-17 a94bd86bd40d60f24c0874d87b840075d1a96903
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/LiftProtocol.java
@@ -98,6 +98,11 @@
    private Boolean hasCar;
    /**
     * 故障
     */
    private Boolean error;
    /**
     * 故障码
     */
    private String errorCode;
@@ -213,7 +218,6 @@
        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();