自动化立体仓库 - WMS系统
zjj
2025-04-06 26a50a5c95185ff573aea7ec718e31e509cdd31d
src/main/java/com/zy/system/entity/Role.java
@@ -99,6 +99,15 @@
        return null;
    }
    public String getLeaderCode(){
        RoleService service = SpringUtils.getBean(RoleService.class);
        Role role = service.selectById(this.leader);
        if (!Cools.isEmpty(role)){
            return String.valueOf(role.getCode());
        }
        return null;
    }
    public void setLeader(Long leader) {
        this.leader = leader;
    }