| | |
| | | GROUP BY a.id |
| | | </select> |
| | | |
| | | <select id="getMallMemberWalletById" resultType="cc.mrbird.febs.mall.vo.MallMemberVo"> |
| | | SELECT a.id, |
| | | a.name, |
| | | IFNULL(c.balance,0) balance, |
| | | IFNULL(c.score,0) score, |
| | | IFNULL(c.prize_score,0) prizeScore |
| | | FROM mall_member a |
| | | LEFT JOIN mall_member_wallet c on c.member_id = a.id |
| | | where a.id = #{id} |
| | | </select> |
| | | |
| | | <select id="selectInfoByAccount" resultType="cc.mrbird.febs.mall.entity.MallMember"> |
| | | select * from mall_member where phone=#{account} or email=#{account} or invite_id=#{account} |
| | | </select> |