| | |
| | | where |
| | | id = #{id} |
| | | </update> |
| | | |
| | | <select id="selectMemberChargeListInPage" resultType="cc.mrbird.febs.mall.entity.MemberCoinChargeEntity"> |
| | | SELECT a.*, |
| | | b.name name |
| | | FROM member_coin_charge a |
| | | inner join mall_member b on a.member_id = b.id |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.name!=null and record.name!=''"> |
| | | and b.name like concat('%', #{record.name},'%') |
| | | </if> |
| | | <if test="record.address!=null and record.address!=''"> |
| | | and a.address like concat('%', #{record.address},'%') |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by a.CREATED_TIME desc |
| | | </select> |
| | | </mapper> |