|  |  |  | 
|---|
|  |  |  | left join mall_vip_config vipConfig on m.level = vipConfig.code | 
|---|
|  |  |  | <where> | 
|---|
|  |  |  | <if test="record != null" > | 
|---|
|  |  |  | <if test="record.birthday!=null"> | 
|---|
|  |  |  | and m.birthday = #{record.birthday} | 
|---|
|  |  |  | <if test="record.birthdayQuery!=null"> | 
|---|
|  |  |  | and date_format(m.birthday, '%m-%d') = date_format(#{record.birthdayQuery}, '%m-%d') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="record.name!=null and record.name!=''"> | 
|---|
|  |  |  | and m.name like concat('%',  #{record.name},'%') | 
|---|
|  |  |  | 
|---|
|  |  |  | where id = #{id} | 
|---|
|  |  |  | </update> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <update id="updateLastLoginTime"> | 
|---|
|  |  |  | update mall_member | 
|---|
|  |  |  | set last_login_time = #{lastLoginTime} | 
|---|
|  |  |  | where id = #{id} | 
|---|
|  |  |  | </update> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </mapper> | 
|---|