| | |
| | | <if test="record.name!=null and record.name!=''"> |
| | | and m.name like concat('%', #{record.name},'%') |
| | | </if> |
| | | <if test="record.accountLogin!=null and record.accountLogin!=''"> |
| | | and m.account_login like concat('%', #{record.accountLogin},'%') |
| | | </if> |
| | | <if test="record.account!=null and record.account!=''"> |
| | | and ( |
| | | m.phone like concat('%', #{record.account},'%') |
| | |
| | | left join data_dictionary_custom a on a.code = m.level |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.accountLogin!=null and record.accountLogin!=''"> |
| | | and m.account_login like concat('%', #{record.accountLogin},'%') |
| | | </if> |
| | | <if test="record.name!=null and record.name!=''"> |
| | | and m.name like concat('%', #{record.name},'%') |
| | | </if> |
| | |
| | | select * from mall_member |
| | | where level = #{level} |
| | | </select> |
| | | |
| | | <select id="selectByAccountLogin" resultType="cc.mrbird.febs.mall.entity.MallMember"> |
| | | select * from mall_member |
| | | where account_login = #{accountLogin} |
| | | </select> |
| | | |
| | | <select id="selectInfoByAccountLoginAndPwd" resultType="cc.mrbird.febs.mall.entity.MallMember"> |
| | | select * from mall_member |
| | | where account_login = #{accountLogin} and password = #{password} |
| | | </select> |
| | | </mapper> |