| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | |
| | |
| | | * 是否删除 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | |
| | | @ApiModelProperty(value = "基本单位") |
| | | private String baseUnit; |
| | | |
| | | @ApiModelProperty(value = "使用组织") |
| | | private String useOrgId; |
| | | |
| | | @ApiModelProperty(value = "使用者名称") |
| | | private String useOrgName; |
| | | |
| | | @ApiModelProperty(value = "数量属性,外购等") |
| | | private String erpClsId; |
| | | |
| | | @ApiModelProperty(value = "计价单位") |
| | | private String priceUnitId; |
| | | |
| | | @ApiModelProperty(value = "入库类型") |
| | | private String inStockType; |
| | | |
| | | @ApiModelProperty(value = "货主类型") |
| | | private String ownerTypeId; |
| | | |
| | | @ApiModelProperty(value = "货主") |
| | | private String ownerId; |
| | | |
| | | @ApiModelProperty(value = "货主名称") |
| | | private String ownerName; |
| | | |
| | | @ApiModelProperty(value = "保管者类型") |
| | | private String keeperTypeId; |
| | | |
| | | @ApiModelProperty(value = "保管者") |
| | | private String keeperId; |
| | | |
| | | @ApiModelProperty(value = "保管者名称") |
| | | private String keeperName; |
| | | |
| | | @ApiModelProperty(value = "建议目标仓,入库") |
| | | private String targetWarehouseId; |
| | | |
| | | @ApiModelProperty(value = "建议调出仓,出仓") |
| | | private String sourceWarehouseId; |
| | | public WarehouseAreasItem() {} |
| | | |
| | | public WarehouseAreasItem(Long areaId,String areaName,Long matnrId,String matnrName,String matnrCode,String trackCode,Double anfme,String batch,String unit,String stockUnit,String brand,Long shipperId,Long splrId,Double weight,String prodTime,String splrBtch,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public BigDecimal getAbleQty(){ |
| | | BigDecimal anfmeDec = new BigDecimal(this.anfme.toString()); |
| | | BigDecimal workQtyDec = new BigDecimal(this.workQty.toString()); |
| | | BigDecimal qtyDec = new BigDecimal(this.qty.toString()); |
| | | |
| | | return anfmeDec.subtract(workQtyDec).subtract(qtyDec); |
| | | } |
| | | |
| | | public String getShipperId$(){ |
| | | CompanysService service = SpringUtils.getBean(CompanysService.class); |
| | | Companys companys = service.getById(this.shipperId); |