zyy
2025-10-29 8371a803fea42f54cfaba38e8cd8c847d7ee97f7
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">