zhou zhou
1 天以前 1dcfa3702505f0c431757312b5304531029f90f6
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocAreaMatRela.java
@@ -140,6 +140,22 @@
     */
    @ApiModelProperty(value= "备注")
    private String memo;
    @TableField(exist = false)
    private String areaId$;
    @TableField(exist = false)
    private String matnrId$;
    @TableField(exist = false)
    private String groupId$;
    @TableField(exist = false)
    private String locTypeId$;
    @TableField(exist = false)
    private String locId$;
    public LocAreaMatRela() {}
@@ -178,48 +194,23 @@
//    );
    public String getAreaId$(){
        WarehouseAreasService service = SpringUtils.getBean(WarehouseAreasService.class);
        WarehouseAreas warehouseAreas = service.getById(this.areaId);
        if (!Cools.isEmpty(warehouseAreas)){
            return String.valueOf(warehouseAreas.getName());
        }
        return null;
        return this.areaId$;
    }
    public String getMatnrId$(){
        MatnrService service = SpringUtils.getBean(MatnrService.class);
        Matnr matnr = service.getById(this.matnrId);
        if (!Cools.isEmpty(matnr)){
            return String.valueOf(matnr.getName());
        }
        return null;
        return this.matnrId$;
    }
    public String getGroupId$(){
        MatnrGroupService service = SpringUtils.getBean(MatnrGroupService.class);
        MatnrGroup matnrGroup = service.getById(this.groupId);
        if (!Cools.isEmpty(matnrGroup)){
            return String.valueOf(matnrGroup.getName());
        }
        return null;
        return this.groupId$;
    }
    public String getLocTypeId$(){
        LocTypeService service = SpringUtils.getBean(LocTypeService.class);
        LocType locType = service.getById(this.locTypeId);
        if (!Cools.isEmpty(locType)){
            return String.valueOf(locType.getName());
        }
        return null;
        return this.locTypeId$;
    }
    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;
        return this.locId$;
    }