| | |
| | | ORDER BY add_time DESC |
| | | </select> |
| | | |
| | | <select id="getDzOrderList" resultType="com.yami.trading.bean.dz.ExchangeApplyOrderDz" parameterType="map"> |
| | | <select id="getDzOrderList" resultType="com.yami.trading.bean.dz.dto.ExchangeApplyOrderDzDto" parameterType="map"> |
| | | SELECT |
| | | t.* |
| | | t.*,s.stock_name |
| | | FROM t_exchange_apply_order_dz t |
| | | LEFT JOIN t_stock_dz s ON t.dz_id=s.uuid |
| | | WHERE 1=1 |
| | |
| | | <if test="state != null and state != ''"> |
| | | AND t.state = #{state} |
| | | </if> |
| | | <if test="state == null"> |
| | | AND t.state != 'position' |
| | | </if> |
| | | <if test="userId != null and userId != '' "> |
| | | AND t.party_id = #{userId} |
| | | </if> |