skyouc
4 天以前 4158164db6bbdbbcf2c2c096ba619307dc4148d8
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
@@ -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) * 100) / 100.0;
        return diffQty;
    }