自动化立体仓库 - WMS系统
#
zjj
2024-11-29 bf411aee332eba93ce827ced5b3aa4c8250d81cc
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;
    }