From 18b9614fa2a291223b7d4b86ef75c12df4260ca2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 25 Jul 2023 16:17:41 +0800
Subject: [PATCH] 订单支付后生成对应的课程单

---
 src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml b/src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml
index 69b88ee..d780db7 100644
--- a/src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberWithdrawMapper.xml
@@ -1,5 +1,12 @@
 <?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>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1