chen.lin
2 天以前 9140aee230de0ef41de9682a9353fbd372e2bcaa
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
@@ -83,9 +83,9 @@
    private String model;
    /**
     * 托盘码
     * 料箱码
     */
    @ApiModelProperty(value= "托盘码")
    @ApiModelProperty(value= "料箱码")
    private String barcode;
    /**
@@ -106,6 +106,9 @@
    @ApiModelProperty(value= "盘点库存")
    private Double checkQty;
    @ApiModelProperty("索引")
    private String fieldsIndex;
    /**
     * 差异原因
     */
@@ -218,7 +221,10 @@
    }
    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;
    }