zyy
2025-10-28 205921a2411cfdcf12a7ba4e9222e9c26e32941e
etf大宗
2 files modified
13 ■■■■ changed files
trading-order-service/src/main/java/com/yami/trading/service/exchange/impl/ExchangeApplyOrderServiceImpl.java 2 ●●● patch | view | raw | blame | history
trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml 11 ●●●● patch | view | raw | blame | history
trading-order-service/src/main/java/com/yami/trading/service/exchange/impl/ExchangeApplyOrderServiceImpl.java
@@ -680,7 +680,7 @@
        if (ExchangeApplyOrder.ORDER_PRICE_TYPE_OPPONENT.equals(order.getOrderPriceType())) {
            boolean isOpen = MarketOpenChecker.isMarketOpenByItemCloseType(item.getOpenCloseType());
            if (!isOpen) {
                throw new YamiShopBindException("The current stock market is closed");
                //throw new YamiShopBindException("The current stock market is closed");
            }
        }
        WalletExtend walletExtend = walletService.saveExtendByPara(order.getPartyId(), order.getSymbol());
trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml
@@ -45,19 +45,20 @@
    <select id="getDzOrderList" resultType="com.yami.trading.bean.dz.ExchangeApplyOrderDz" parameterType="map">
        SELECT
        *
        FROM t_exchange_apply_order_dz
        t.*
        FROM t_exchange_apply_order_dz t
        LEFT JOIN t_stock_dz s ON t.dz_id=s.uuid
        WHERE 1=1
        <if test="stockType != null and stockType != '' ">
            AND stock_type = #{stockType}
            AND s.stock_type = #{stockType}
        </if>
        <if test="state != null and state != ''">
            AND t.state = #{state}
        </if>
        <if test="userId != null and userId != '' ">
            AND party_id = #{userId}
            AND t.party_id = #{userId}
        </if>
        ORDER BY  create_time DESC
        ORDER BY  t.create_time DESC
    </select>
    <select id="getDzCheckList" resultType="com.yami.trading.bean.dz.dto.ExchangeApplyOrderDzDto" parameterType="map">