From 63a1882e1e042c13ab809508ce58549f37ca5ad6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 21 三月 2024 13:24:41 +0800 Subject: [PATCH] Merge branch 'Four-Way-Rack' of http://47.97.1.152:5880/r/zy-asrs-master into Four-Way-Rack --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/entity/Device.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/entity/Device.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/entity/Device.java index 86eca35..94d0b0e 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/entity/Device.java +++ b/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; -- Gitblit v1.9.1