KKSU
2024-04-18 fa36b2c8aea4caac9d17ffb548a643d7866f04d9
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -587,7 +587,6 @@
               b.account_login accountLogin
        from mall_member_charge a
        left join mall_member b on a.member_id = b.id
        left join mall_member_payment c on a.member_id = c.member_id
        <where>
            <if test="record.accountLogin!=null and record.accountLogin!=''">
                and b.account_login like concat('%',  #{record.accountLogin},'%')
@@ -601,4 +600,24 @@
        </where>
        order by a.CREATED_TIME desc
    </select>
    <select id="getMemberWithDrawListInPage" resultType="cc.mrbird.febs.mall.entity.MallMemberWithdraw">
        select
               a.*,
               b.account_login accountLogin
        from mall_member_withdraw a
        left join mall_member b on a.member_id = b.id
        <where>
            <if test="record.accountLogin!=null and record.accountLogin!=''">
                and b.account_login like concat('%',  #{record.accountLogin},'%')
            </if>
            <if test="record.address!=null and record.address!=''">
                and a.remark like concat('%',  #{record.address},'%')
            </if>
            <if test="record.status!=null">
                and a.status = #{record.status}
            </if>
        </where>
        order by a.CREATED_TIME desc
    </select>
</mapper>