zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/User.java
@@ -254,7 +254,7 @@ DeptService service = SpringUtils.getBean(DeptService.class); Dept dept = service.getById(this.deptId); if (!Cools.isEmpty(dept)){ return String.valueOf(dept.getId()); return String.valueOf(dept.getName()); } return null; } @@ -263,7 +263,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; }