自动化立体仓库 - WMS系统
#
fyxc
2025-04-10 4ccff12cf03a050f060b40180873ecd459b2333f
src/main/java/com/zy/asrs/entity/InventoryCheckOrderDetl.java
@@ -42,8 +42,15 @@
    private String area;
    @ApiModelProperty(value= "")
    private String status;
    @ApiModelProperty(value= "")
    @TableField("loc_no")
    private String locNo;
    @ApiModelProperty(value= "")
    @TableField("check_anfme")
    private Double checkAnfme;
    @ApiModelProperty(value= "")
    @TableField("io_time")
@@ -81,5 +88,35 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.ioTime);
    }
    public String getStatus$(){
        if (Cools.isEmpty(this.status)){
            return "";
        }
        switch (this.status){
            case "1":
                return "待盘";
            case "2":
                return "已盘";
            default:
                return "";
        }
    }
    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 "平";
        }
    }
}