| | |
| | | <!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="memberBoBiList" resultType="com.xcong.excoin.modules.member.entity.MemberAccountMoneyChangeEntity">
|
| | | SELECT
|
| | | *
|
| | | FROM
|
| | | member_account_money_change a
|
| | | LEFT JOIN member m ON m.id = a.member_id
|
| | | <where>
|
| | | a.content = '充值' and `status` = 1
|
| | | <if test="record != null" >
|
| | | <if test="record.account!=null and record.account!=''">
|
| | | and (m.phone = #{record.account} or m.email = #{record.account} or m.invite_id=#{record.account})
|
| | | </if>
|
| | | <if test="record.isTest!=null and record.isTest!=''">
|
| | | and m.account_type= #{record.isTest}
|
| | | </if>
|
| | | </if>
|
| | | </where>
|
| | | order by m.create_time desc
|
| | | </select>
|
| | |
|
| | | <select id="selectWalletFrozenBalanceBymemberId" resultType="java.lang.String">
|
| | | SELECT
|
| | | IFNULL(SUM(a.frozen_balance),'0')
|