xiaoyong931011
2023-02-16 82f1f0f4485f43308371d6d0d6d6c75b3bc1bc2a
src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml
@@ -2,4 +2,12 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cc.mrbird.febs.mall.mapper.MallMemberWithdrawMapper">
    <select id="selectByWithDrawNoAndMemberIdAndState" resultType="cc.mrbird.febs.mall.entity.MallMemberWithdraw">
        select a.*
        from mall_member_withdraw a
        where a.withdraw_no = #{withdrawNo}
          and a.member_id = #{memberId}
          and a.status = #{status}
    </select>
</mapper>