新版仿ok交易所-后端
1
zj
2025-08-08 295e7f3e507e0a147630f7874caded95dba55342
trading-order-bean/src/main/java/com/yami/trading/bean/contract/domain/ContractOrder.java
@@ -138,6 +138,12 @@
     */
    private Integer locationType = 1;
    /**
     * 盈亏比
     */
    private Double profitLossRatio;
    public BigDecimal getAmountClose() {
        if(amountClose == null){
            amountClose = BigDecimal.ZERO;