Helius
2020-07-10 c8d7346677ec4dff85fc05792cc2d736d7fc3dfa
src/main/java/com/xcong/excoin/modules/contract/parameter/vo/OrderListVo.java
@@ -63,13 +63,16 @@
    @ApiModelProperty(value = "交易类型 1-市价 2-限价")
    private Integer tradeType;
    public BigDecimal getOpeningFeeAmount() {
        return openingFeeAmount.setScale(8, BigDecimal.ROUND_DOWN);
    public String getOpeningFeeAmount() {
        return openingFeeAmount == null ? "" : openingFeeAmount.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public BigDecimal getClosingFeeAmount() {
        return 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();
    }
}