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;