zyy
2025-10-28 205921a2411cfdcf12a7ba4e9222e9c26e32941e
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">