| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.vincent.rsf.server.manager.service.LocService; |
| | | import com.vincent.rsf.server.manager.service.WarehouseAreasService; |
| | | import com.vincent.rsf.server.system.constant.DictTypeCode; |
| | | import com.vincent.rsf.server.system.entity.DictData; |
| | | import com.vincent.rsf.server.system.service.DictDataService; |
| | |
| | | */ |
| | | @ApiModelProperty(value= "物料ID") |
| | | private Long matnrId; |
| | | |
| | | /** |
| | | * 平台标识(行号) |
| | | */ |
| | | @ApiModelProperty(value = "平台标识(行号)") |
| | | private String platItemId; |
| | | |
| | | @ApiModelProperty("客户订单号") |
| | | private String platOrderCode; |
| | | |
| | | @ApiModelProperty("工单号") |
| | | private String platWorkCode; |
| | | |
| | | @ApiModelProperty("项目号") |
| | | private String projectCode; |
| | | |
| | | @ApiModelProperty("出库数量") |
| | | @TableField(exist = false) |
| | | private Double outQty; |
| | | |
| | | /** |
| | | * 物料名称 |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getWareArea(){ |
| | | if (Cools.isEmpty(this.locId)){ |
| | | return ""; |
| | | } |
| | | LocService locService = SpringUtils.getBean(LocService.class); |
| | | Loc loc = locService.getById(this.locId); |
| | | if (Objects.isNull(loc)) { |
| | | return null; |
| | | } |
| | | return loc.getAreaId$(); |
| | | } |
| | | |
| | | public String getType$(){ |
| | | if (Cools.isEmpty(this.type)){ |
| | | return ""; |