zainali5120
2020-10-21 c2729c7e4352e1c7aed86c4c4b3b5e950930ea00
src/main/resources/mapper/member/MemberSelectSymbolsDao.xml
@@ -3,7 +3,11 @@
<mapper namespace="com.xcong.excoin.modules.coin.dao.MemberSelectSymbolsDao">
    
   <select id="selectSymbolByMemIdAndSymbol" resultType="com.xcong.excoin.modules.member.entity.MemberSelectSymbolsEntity">
      select id id,symbol symbol,member_id memId from member_select_symbols where member_id = #{memberId} and symbol = #{symbol}
      select id id,symbol symbol,member_id memberId from member_select_symbols where member_id = #{memberId} and symbol = #{symbol}
   </select>
   <select id="selectSymbolByMemId" resultType="com.xcong.excoin.modules.member.entity.MemberSelectSymbolsEntity">
      select id id,symbol symbol,member_id memberId from member_select_symbols where member_id = #{memberId} GROUP BY symbol
   </select>
   
</mapper>