1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| <?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.member.mapper.MemberAccountMoneyChangeMapper">
|
| <select id="findMemberAccountInfoListInPage" resultType="com.xcong.excoin.modules.member.entity.MemberAccountMoneyChangeEntity">
| SELECT
| m.phone,
| m.email,
| m.invite_id inviteId,
| s.symbol,
| s.amount,
| s.content,
| s.create_time createTime,
| s. STATUS,
| s.type
| FROM
| member_account_money_change s
| LEFT JOIN member m ON m.id = s.member_id
| <where>
| s.type = 3
| and s.content like '%佣金入账%'
| <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>
| </where>
| </select>
|
| </mapper>
|
|