zhou zhou
昨天 1dcfa3702505f0c431757312b5304531029f90f6
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Loc.java
@@ -232,6 +232,16 @@
     */
    @ApiModelProperty(value= "备注")
    private String memo;
    @TableField(exist = false)
    private String typeIds$;
    @TableField(exist = false)
    private String warehouseId$;
    @TableField(exist = false)
    private String areaId$;
    public Loc() {}
@@ -298,19 +308,7 @@
//    );
    public String getTypeIds$(){
        if (null == this.type){ return null; }
        String[] split = this.type.split(",");
        List<String> asList = Arrays.asList(split);
        if (asList.isEmpty()) {
            return null;
        }
        LocTypeService locTypeService = SpringUtils.getBean(LocTypeService.class);
        List<LocType> locTypes = locTypeService.list(new LambdaQueryWrapper<LocType>().in(LocType::getId, asList));
        if (locTypes.isEmpty()) {
            return null;
        }
        List<String> strings = locTypes.stream().map(LocType::getName).collect(Collectors.toList());
        return StringUtils.join(strings, ",");
        return this.typeIds$;
    }
@@ -335,23 +333,11 @@
    }
    public String getWarehouseId$(){
        if (null == this.warehouseId){ return null; }
        WarehouseService service = SpringUtils.getBean(WarehouseService.class);
        Warehouse warehouse = service.getById(this.warehouseId);
        if (!Cools.isEmpty(warehouse)){
            return String.valueOf(warehouse.getName());
        }
        return null;
        return this.warehouseId$;
    }
    public String getAreaId$(){
        if (null == this.areaId){ return null; }
        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 getStatus$(){