自动化立体仓库 - WMS系统
#
zjj
2024-12-09 d77e5ae3f0a372a478ac7cc081121273ac9b4331
src/main/java/com/zy/asrs/entity/InventoryCheckOrderDetl.java
@@ -50,7 +50,7 @@
    @ApiModelProperty(value= "")
    @TableField("check_anfme")
    private String checkAnfme;
    private Double checkAnfme;
    @ApiModelProperty(value= "")
    @TableField("io_time")
@@ -102,5 +102,21 @@
        }
    }
    public String getProfit$(){
        if (Cools.isEmpty(this.status) && !this.status.equals("1")){
            return "未盘点";
        }
        if (Cools.isEmpty(this.anfme) || Cools.isEmpty(this.checkAnfme)){
            return "";
        }
        if (this.anfme > this.checkAnfme){
            return "盘亏";
        }else if (this.anfme < this.checkAnfme){
            return "盘盈";
        }else {
            return "平";
        }
    }
}