zhou zhou
昨天 6e5ff559023efd2d24fdca2adcb7268d06420e46
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/BasStation.java
@@ -88,7 +88,8 @@
     * 可跨区区域id
     */
    @ApiModelProperty(value = "可跨区区域id")
    private String crossZoneArea;
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<Integer> crossZoneArea;
    /**
     * 是否wcs站点
@@ -106,13 +107,14 @@
     * 容器类型
     */
    @ApiModelProperty(value = "容器类型")
    private String containerType;
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<Integer> containerType;
    /**
     * 条码
     */
    @ApiModelProperty(value = "条码")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String barcode;
    /**
@@ -179,6 +181,18 @@
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> stationAlias;
    /**
     * 仓库编码
     */
    @ApiModelProperty(value = "仓库编码")
    private String productionLineCode;
    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称")
    private String productionLineName;
    public BasStation() {
    }
@@ -194,11 +208,11 @@
        }
        DictDataService service = SpringUtils.getBean(DictDataService.class);
        Object parse = JSONArray.parse(this.getContainerType());
        List<Long> longs1 = JSONObject.parseArray(parse.toString(), Long.class);
//        Object parse = JSONArray.parse(this.getContainerType());
//        List<Long> longs1 = JSONObject.parseArray(parse.toString(), Long.class);
        List<DictData> dictData = service.list(new LambdaQueryWrapper<DictData>()
                .eq(DictData::getDictTypeCode, "sys_container_type")
                .in(DictData::getValue, longs1));
                .in(DictData::getValue, this.getContainerType()));
        List<Long> longs = dictData.stream().map(DictData::getId).collect(Collectors.toList());
        return longs;
    }
@@ -274,4 +288,6 @@
                return null;
        }
    }
}