From c983d4642b2aeeceb6442badaebd1b7bab7943eb Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 15 二月 2024 16:52:14 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java index c80b6e3..7395569 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java @@ -107,7 +107,7 @@ HostService service = SpringUtils.getBean(HostService.class); Host host = service.getById(this.hostId); if (!Cools.isEmpty(host)){ - return String.valueOf(host.getId()); + return String.valueOf(host.getName()); } return null; } -- Gitblit v1.9.1