From 38209c2eceafc11e6d0f3b63a61e91d8d4a642a6 Mon Sep 17 00:00:00 2001
From: java <linlangsur163@163.com>
Date: 星期四, 29 六月 2023 18:10:55 +0800
Subject: [PATCH] 课程信息:课时详情中的记录的数据处理

---
 cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml b/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
index f49a1c7..00b7a4d 100644
--- a/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
+++ b/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
@@ -50,6 +50,9 @@
         <if test="appUserId != null">
             and appUserId = #{appUserId}
         </if>
+        <if test="startTime != null and endTime != null">
+            and (insertTime between #{startTime} and #{endTime})
+        </if>
     </select>
 
 </mapper>

--
Gitblit v1.7.1