zhou zhou
2 天以前 a8df4c4a80781c02815021a840971ce4b15419f5
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;
    /**
@@ -137,6 +139,9 @@
    @ApiModelProperty(value = "创建人")
    private Long createBy;
    @TableField(exist = false)
    private String createBy$;
    /**
     * 创建时间
     */
@@ -149,6 +154,9 @@
     */
    @ApiModelProperty(value = "更新人")
    private Long updateBy;
    @TableField(exist = false)
    private String updateBy$;
    /**
     * 更新时间
@@ -179,6 +187,24 @@
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> stationAlias;
    /**
     * 仓库编码
     */
    @ApiModelProperty(value = "仓库编码")
    private String productionLineCode;
    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称")
    private String productionLineName;
    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称")
    private String stationTypeCode;
    public BasStation() {
    }
@@ -194,11 +220,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;
    }
@@ -231,24 +257,6 @@
        return "";
    }
    public String getCreateBy$() {
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.getById(this.createBy);
        if (!Cools.isEmpty(user)) {
            return String.valueOf(user.getNickname());
        }
        return null;
    }
    public String getUpdateBy$() {
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.getById(this.updateBy);
        if (!Cools.isEmpty(user)) {
            return String.valueOf(user.getNickname());
        }
        return null;
    }
    public String getArea$() {
        if (null == this.area) {
            return null;
@@ -274,4 +282,6 @@
                return null;
        }
    }
}