| | |
| | | * 可跨区区域id |
| | | */ |
| | | @ApiModelProperty(value = "可跨区区域id") |
| | | private String crossZoneArea; |
| | | @TableField(typeHandler = JacksonTypeHandler.class) |
| | | private List<Integer> crossZoneArea; |
| | | |
| | | /** |
| | | * 是否wcs站点 |
| | |
| | | * 容器类型 |
| | | */ |
| | | @ApiModelProperty(value = "容器类型") |
| | | private String containerType; |
| | | @TableField(typeHandler = JacksonTypeHandler.class) |
| | | private List<Integer> containerType; |
| | | |
| | | /** |
| | | * 条码 |
| | |
| | | } |
| | | 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; |
| | | } |