| | |
| | | |
| | | <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"> |