From d5c0d74f06a70a946f9c34c0ea922bf3b9b4dafe Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 21 Jul 2023 17:19:23 +0800
Subject: [PATCH] 订单支付后生成对应的课程单

---
 src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml b/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml
index b8a224e..df186b1 100644
--- a/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml
+++ b/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml
@@ -51,7 +51,7 @@
                 <if test="record.invitedId != null and record.invitedId != ''">
                     and a.unique_code = #{record.invitedId}
                 </if>
-                <if test="record.createdTime!=null">
+                <if test="record.createdTime != null and record.createdTime != ''">
                     and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{record.createdTime}
                 </if>
             </if>

--
Gitblit v1.9.1