自动化立体仓库 - WMS系统
13
zhang
2025-05-24 954799493a5d4a63a8844fd53e8a14c8ea9f6cea
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;
    }