Administrator
1 days ago 377012b130a26728bed009a228076e72cd01f2f8
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();
    }
}