luxiaotao1123
2024-04-10 a40b27c3e22a152d7514d3148835238c23be303e
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/entity/Device.java
@@ -183,6 +183,15 @@
        DeviceTypeService service = SpringUtils.getBean(DeviceTypeService.class);
        DeviceType deviceType = service.getById(this.deviceType);
        if (!Cools.isEmpty(deviceType)){
            return String.valueOf(deviceType.getFlag());
        }
        return null;
    }
    public String getDeviceTypeName$(){
        DeviceTypeService service = SpringUtils.getBean(DeviceTypeService.class);
        DeviceType deviceType = service.getById(this.deviceType);
        if (!Cools.isEmpty(deviceType)){
            return String.valueOf(deviceType.getName());
        }
        return null;