| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
| | | <mapper namespace="com.xcong.excoin.modules.member.mapper.MemberMapper">
|
| | |
|
| | | <select id="selectMemberInfoByQueryKey" resultType="com.xcong.excoin.modules.member.entity.MemberEntity">
|
| | | select * from member where phone=#{queryKey} or invite_id=#{queryKey} or email=#{queryKey}
|
| | | </select>
|
| | |
|
| | | <select id="selectMemberWalletContractByMemberId" resultType="java.lang.String">
|
| | | SELECT
|
| | | total_balance
|
| | | FROM
|
| | | member_wallet_contract where member_id = #{memberId}
|
| | | </select>
|
| | |
|
| | | <select id="selectSellClosingpriceForForAllDataInfo" resultType="java.lang.String">
|
| | | SELECT
|
| | | IFNULL(SUM(a.closing_fee_amount),'0')
|