zainali5120
2020-09-28 658b05398e49a69732aa056df535764ca36c53e2
src/main/java/com/xcong/excoin/modules/contract/parameter/vo/OrderListVo.java
@@ -63,13 +63,20 @@
    @ApiModelProperty(value = "交易类型 1-市价 2-限价")
    private Integer tradeType;
    public BigDecimal getOpeningFeeAmount() {
        return openingFeeAmount == null ? openingFeeAmount : openingFeeAmount.setScale(8, BigDecimal.ROUND_DOWN);
    public String getOpeningFeeAmount() {
        return openingFeeAmount == null ? "" : openingFeeAmount.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public BigDecimal getClosingFeeAmount() {
        return closingFeeAmount == null ? closingFeeAmount : closingFeeAmount.setScale(8, BigDecimal.ROUND_DOWN);
    public String getClosingFeeAmount() {
        return closingFeeAmount == null ? "" : closingFeeAmount.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public String getBondAmount() {
        return bondAmount == null ? "" : bondAmount.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public String getRewardAmount() {
        return rewardAmount == null ? "" : rewardAmount.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
}