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