新版仿ok交易所-后端
zyy
2025-08-21 111f8c32862d84a06b7d4d2cde4a5596ea31a632
trading-order-bean/src/main/java/com/yami/trading/bean/item/domain/Item.java
@@ -83,7 +83,6 @@
     */
    public final static String CATEGORY_ENERGY = "energy";
    private static final long serialVersionUID = 1L;
@@ -116,11 +115,11 @@
     */
    private BigDecimal adjustmentValue;
    /**
     * 每张金额
     * 每张金额  合约下单一张等于=开仓价格*面值/杠杆
     */
    private BigDecimal unitAmount;
    /**
     * 每张手续费
     * 手续费
     */
    private BigDecimal unitFee;
    /**
@@ -147,10 +146,30 @@
    private String type;
    private String category;
    /**
     * 面值:固定0.01  合约下单一张等于=开仓价格*面值/杠杆
     */
    private double faceValue = 0.01;
    private String openCloseType;
    private String fake;
    /**
     * 币类型 0.主流币 1.新币
     */
    private Integer currencyType = 0;
    /**
     * 状态(新币) 0.停牌 1.复牌
     */
    private Integer status;
    /**
     * 杠杆交易,合约交易状态
     */
    private String tradeType;
    public BigDecimal getAdjustmentValue() {
        if (adjustmentValue == null) {
            return BigDecimal.ZERO;