src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -4,6 +4,9 @@ <select id="selectByAddress" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> select * from dapp_member where address=#{address} <if test="chain != null and chain != ''"> and chain_type=#{chain} </if> </select> <select id="selectMemberInfoByInviteId" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> @@ -66,6 +69,7 @@ </foreach> </if> </where> order by id desc <if test="size != null"> limit ${size} </if>