| | |
| | | private String model; |
| | | |
| | | /** |
| | | * 托盘码 |
| | | * 料箱码 |
| | | */ |
| | | @ApiModelProperty(value= "托盘码") |
| | | @ApiModelProperty(value= "料箱码") |
| | | private String barcode; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value= "盘点库存") |
| | | private Double checkQty; |
| | | |
| | | |
| | | @ApiModelProperty("索引") |
| | | private String fieldsIndex; |
| | | /** |
| | | * 差异原因 |
| | | */ |
| | |
| | | } |
| | | |
| | | public Double getDiffQty() { |
| | | Double diffQty = Math.round((this.checkQty - this.anfme) * 1000) / 1000.0; |
| | | if (checkQty.compareTo(0.0) <= 0) { |
| | | return 0.0; |
| | | } |
| | | Double diffQty = Math.round((this.checkQty - this.anfme) * 1000000) / 1000000.0; |
| | | return diffQty; |
| | | } |
| | | |