xiaoyong931011
2020-06-08 c418c3f88decb6ab98d0c088a68b177b1e9ee9ad
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>