KKSU
2024-05-13 b52d29b99c0808b23a6f07bdc87db31e5ba11a31
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -591,10 +591,33 @@
            <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.address like concat('%',  #{record.address},'%')
            </if>
            <if test="record.status!=null">
                and a.state = #{record.status}
            </if>
        </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>