1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
| <mapper namespace="com.xcong.excoin.modules.platform.dao.PlatformSymbolsCoinDao">
|
| <select id="selectCoinAddressCount" resultType="com.xcong.excoin.modules.member.parameter.vo.MemberCoinAddressCountVo">
| SELECT
| a.id,
| a. NAME,
| count(b.id) count
| FROM
| platform_symbols_coin a
| LEFT JOIN member_coin_address b ON a.id = b.symbolscoin_id
| AND member_id = #{memberId}
| GROUP BY
| a.id,
| a. NAME
| </select>
|
| </mapper>
|
|