KKSU
2024-02-28 1ec33ec01e45efb45b28b786d80e74671f654b7d
src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml
@@ -2,4 +2,19 @@
<!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="selectListByMemberIdAndDate" resultType="cc.mrbird.febs.mall.entity.MallMemberWithdraw">
        select
               a.*
        from mall_member_withdraw a
        where a.member_id = #{memberId}
          and date_format(a.CREATED_TIME, '%Y-%m-%d') = date_format(#{date}, '%Y-%m-%d')
    </select>
    <select id="selectMsgByWithdrawNo" resultType="cc.mrbird.febs.mall.entity.MallMemberWithdrawMsg">
        select
               a.*
        from mall_member_withdraw_msg a
        where a.withdraw_id = #{withdrawId}
    </select>
</mapper>