ipo
zyy
2026-01-08 4affbdf8938d321c0926bc2b1832dfc81c317ffa
trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml
@@ -67,7 +67,7 @@
        <if test="userId != null and userId != '' ">
            AND t.party_id = #{userId}
        </if>
        ORDER BY  t.create_time DESC
        ORDER BY  t.close_time DESC,t.create_time DESC
    </select>
    <select id="getDzCheckList" resultType="com.yami.trading.bean.dz.dto.ExchangeApplyOrderDzDto" parameterType="map">
@@ -87,6 +87,12 @@
        <if test="stockType != null and stockType != '' ">
            AND s.stock_type = #{stockType}
        </if>
        <if test="userName != null and userName != '' ">
            AND (
            u.user_name LIKE CONCAT('%', #{userName}, '%')
            OR u.user_code LIKE CONCAT('%', #{userName}, '%')
            )
        </if>
        <if test="checkedList!=null">
            and u.user_id in
            <foreach collection="checkedList" separator="," index="index" open="(" close=")" item="r">