|  |  |  | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </where> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectCoinAddressListByMap" resultType="com.xcong.excoin.modules.member.entity.MemberCoinAddressEntity"> | 
|---|
|  |  |  | select *  from member_coin_address | 
|---|
|  |  |  | <where> | 
|---|
|  |  |  | is_biyict = 1 | 
|---|
|  |  |  | and symbolscoin_id IS NOT NULL | 
|---|
|  |  |  | <if test="memberId != null  and  memberId  != ''"> | 
|---|
|  |  |  | and member_id = #{memberId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="symbol != null  and  symbol  != ''"> | 
|---|
|  |  |  | and symbol = #{symbol} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </where> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectAllBlockAddressBySymbolAndTag" resultType="com.xcong.excoin.modules.member.entity.MemberCoinAddressEntity"> | 
|---|
|  |  |  | select * from member_coin_address | 
|---|
|  |  |  | where is_biyict = 1 | 
|---|
|  |  |  | <if test="symbol != null  and  symbol  != ''"> | 
|---|
|  |  |  | and symbol = #{symbol} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="tag != null  and  tag  != ''"> | 
|---|
|  |  |  | and tag = #{tag} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectAllBlockAddressBySymbol" resultType="com.xcong.excoin.modules.member.entity.MemberCoinAddressEntity"> | 
|---|
|  |  |  | select * from member_coin_address | 
|---|
|  |  |  | where symbol=#{symbol} | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | </mapper> | 
|---|