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 "平"; } } }