KKSU
2024-08-05 e1aedb313407c64318415f28aae85834103e0aa5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<!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>