自动化立体仓库 - WMS系统
#
zjj
2025-03-27 681d5587c0d926711861269047d38e3502ff5fa3
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 "平";
        }
    }
}