| | |
| | | FROM mall_member_amount a |
| | | where a.member_id = #{memberId} |
| | | </select> |
| | | |
| | | <select id="getMemberChargeListInPage" resultType="cc.mrbird.febs.mall.entity.MallMemberCharge"> |
| | | select |
| | | a.*, |
| | | b.account_login accountLogin |
| | | from mall_member_charge a |
| | | left join mall_member b on a.member_id = b.id |
| | | <where> |
| | | <if test="record.accountLogin!=null and record.accountLogin!=''"> |
| | | and b.account_login like concat('%', #{record.accountLogin},'%') |
| | | </if> |
| | | <if test="record.status!=null"> |
| | | and a.state = #{record.status} |
| | | </if> |
| | | </where> |
| | | order by a.CREATED_TIME desc |
| | | </select> |
| | | </mapper> |