| | |
| | | * 条码 |
| | | */ |
| | | @ApiModelProperty(value = "条码") |
| | | @TableField(updateStrategy = FieldStrategy.IGNORED) |
| | | @TableField(updateStrategy = FieldStrategy.ALWAYS) |
| | | private String barcode; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @TableField(exist = false) |
| | | private String createBy$; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | |
| | | */ |
| | | @ApiModelProperty(value = "更新人") |
| | | private Long updateBy; |
| | | |
| | | @TableField(exist = false) |
| | | private String updateBy$; |
| | | |
| | | /** |
| | | * 更新时间 |
| | |
| | | @TableField(typeHandler = JacksonTypeHandler.class) |
| | | private List<String> stationAlias; |
| | | |
| | | /** |
| | | * 仓库编码 |
| | | */ |
| | | @ApiModelProperty(value = "仓库编码") |
| | | private String productionLineCode; |
| | | |
| | | /** |
| | | * 仓库名称 |
| | | */ |
| | | @ApiModelProperty(value = "仓库名称") |
| | | private String productionLineName; |
| | | |
| | | /** |
| | | * 仓库名称 |
| | | */ |
| | | @ApiModelProperty(value = "仓库名称") |
| | | private String stationTypeCode; |
| | | @TableField(exist = false) |
| | | private List<Long> containerTypes$; |
| | | |
| | | @TableField(exist = false) |
| | | private String useStatus$; |
| | | |
| | | @TableField(exist = false) |
| | | private String area$; |
| | | |
| | | |
| | | |
| | | public BasStation() { |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | public List<Long> getContainerTypes$() { |
| | | if (Cools.isEmpty(this.containerType)) { |
| | | return new ArrayList<>(); |
| | | } |
| | | DictDataService service = SpringUtils.getBean(DictDataService.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, this.getContainerType())); |
| | | List<Long> longs = dictData.stream().map(DictData::getId).collect(Collectors.toList()); |
| | | return longs; |
| | | return this.containerTypes$; |
| | | } |
| | | |
| | | public String getCreateTime$() { |
| | |
| | | } |
| | | |
| | | public String getUseStatus$() { |
| | | if (Cools.isEmpty(this.useStatus)) { |
| | | return ""; |
| | | } |
| | | DictDataService service = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictData = service.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, "sys_sta_use_stas") |
| | | .eq(DictData::getValue, this.useStatus)); |
| | | if (!Cools.isEmpty(dictData)) { |
| | | return String.valueOf(dictData.getLabel()); |
| | | } |
| | | 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; |
| | | return this.useStatus$; |
| | | } |
| | | |
| | | public String getArea$() { |
| | | if (null == this.area) { |
| | | return null; |
| | | } |
| | | WarehouseAreasService service = SpringUtils.getBean(WarehouseAreasService.class); |
| | | WarehouseAreas warehouseAreas = service.getById(this.area); |
| | | if (!Cools.isEmpty(warehouseAreas)) { |
| | | return String.valueOf(warehouseAreas.getName()); |
| | | } |
| | | return null; |
| | | return this.area$; |
| | | } |
| | | |
| | | public Boolean getStatusBool() { |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |