| | |
| | | package com.vincent.rsf.server.manager.entity; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | |
| | | |
| | | @ApiModelProperty(value = "建议调出仓,出仓") |
| | | private String sourceWarehouseId; |
| | | |
| | | @TableField(exist = false) |
| | | private BigDecimal inputQty = BigDecimal.ZERO; |
| | | public TaskItem() {} |
| | | |
| | | public TaskItem(Long taskId,Long matnrId,String maktx,String matnrCode,String unit,Double anfme,String batch,String spec,String model,String fieldsIndex,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | |
| | | } |
| | | } |
| | | |
| | | public BigDecimal getAbleQty() { |
| | | if (anfme == null) { anfme = 0.0;} |
| | | if (workQty == null) { workQty = 0.0;} |
| | | BigDecimal anfmeDec = new BigDecimal(anfme.toString()); |
| | | BigDecimal qtyDec = new BigDecimal(workQty.toString()); |
| | | |
| | | return anfmeDec.subtract(qtyDec); |
| | | } |
| | | |
| | | } |