新版仿ok交易所-后端
1
zj
2025-08-08 295e7f3e507e0a147630f7874caded95dba55342
trading-order-bean/src/main/java/com/yami/trading/bean/contract/domain/ContractOrder.java
@@ -136,7 +136,13 @@
    /**
     * 仓位类型:0:逐仓 1:全仓
     */
    private Integer locationType = 0;
    private Integer locationType = 1;
    /**
     * 盈亏比
     */
    private Double profitLossRatio;
    public BigDecimal getAmountClose() {
        if(amountClose == null){