skyouc
2025-04-11 c99ccf370df6d868397b06d720dba6842b9bb161
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocArea.java
@@ -56,12 +56,6 @@
    private Long areaId;
    /**
     * 库位ID(*)
     */
    @ApiModelProperty(value= "库位ID(*)")
    private Long locId;
    /**
     * 状态 1: 正常  0: 冻结  
     */
    @ApiModelProperty(value= "状态 1: 正常  0: 冻结  ")
@@ -114,11 +108,10 @@
    public LocArea() {}
    public LocArea(String name,String code,Long areaId,Long locId,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
    public LocArea(String name,String code,Long areaId,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.name = name;
        this.code = code;
        this.areaId = areaId;
        this.locId = locId;
        this.status = status;
        this.deleted = deleted;
        this.tenantId = tenantId;
@@ -153,14 +146,14 @@
        return null;
    }
    public String getLocId$(){
        LocService service = SpringUtils.getBean(LocService.class);
        Loc loc = service.getById(this.locId);
        if (!Cools.isEmpty(loc)){
            return String.valueOf(loc.getCode());
        }
        return null;
    }
//    public String getLocId$(){
//        LocService service = SpringUtils.getBean(LocService.class);
//        Loc loc = service.getById(this.locId);
//        if (!Cools.isEmpty(loc)){
//            return String.valueOf(loc.getCode());
//        }
//        return null;
//    }
    public String getStatus$(){
        if (null == this.status){ return null; }