| | |
| | | |
| | | <select id="selectWholeHoldOrderByOrderType" resultType="com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity"> |
| | | select * from contract_hold_order |
| | | where member_id=#{memberId} and order_type=#{OrderType} |
| | | where member_id=#{memberId} and opening_type=#{orderType} |
| | | </select> |
| | | |
| | | <select id="selectHoldOrderListForWholeByMemberIdAndSymbol" resultType="com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity"> |
| | | select * from contract_hold_order where member_id=#{memberId} |
| | | and symbol=#{symbol} |
| | | and position_type=2 |
| | | and is_can_closing=1 |
| | | order by create_time desc |
| | | </select> |
| | | </mapper> |