Commit 0fa99315 by 杨卫

feat:导出列表成交车款不展示修复

1 parent 9e9c36e6
...@@ -168,7 +168,7 @@ public class VrAuditExportBean implements Serializable { ...@@ -168,7 +168,7 @@ public class VrAuditExportBean implements Serializable {
this.vrUserName = vo.getVrUserName(); this.vrUserName = vo.getVrUserName();
this.vrUserPhone = vo.getVrUserPhone(); this.vrUserPhone = vo.getVrUserPhone();
this.orderPrice = Optional.ofNullable(vo.getOrderPrice()) this.orderPrice = Optional.ofNullable(vo.getOrderPrice())
.filter(r -> Objects.equals(this.status, VrAudit.PublishStatus.SOLD.getValue() + StrUtil.EMPTY)) .filter(r -> Objects.equals(vo.getStatus(), VrAudit.PublishStatus.SOLD.getValue()))
.map(price -> price.setScale(2, RoundingMode.HALF_UP) + "万元") .map(price -> price.setScale(2, RoundingMode.HALF_UP) + "万元")
.orElse(SymbolConsts.HYPHEN); .orElse(SymbolConsts.HYPHEN);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!