| 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
 | | <?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="cc.mrbird.febs.mall.mapper.MallAppMemberMapper"> |  |   |  |     <select id="selectByAccountAndPassword" resultType="cc.mrbird.febs.mall.entity.MallAppMember"> |  |         select * from mall_app_member |  |         where |  |             account = #{account} |  |             and password = #{password} |  |     </select> |  |   |  |     <select id="selectMemberInfoLikePhone" resultType="cc.mrbird.febs.mall.vo.ApiMallAppMemberInfoVo"> |  |         select |  |             a.id id, |  |             a.avatar phone, |  |             a.name nickname, |  |             a.phone phone, |  |             IFNULL(b.balance,0) balance, |  |             IFNULL(b.score,0) score |  |         from mall_member a |  |         left join mall_member_wallet b on a.id = b.member_id |  |         where |  |             a.phone like concat('%',  #{phone}) |  |     </select> |  | </mapper> | 
 |