From 47e23cf659d4cc58bc93b44b16e64e82efcfb08d Mon Sep 17 00:00:00 2001
From: zhibing.pu <393733352@qq.com>
Date: 星期三, 24 七月 2024 17:34:27 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

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

diff --git a/cloud-server-course/src/main/resources/mapper/CancelledClassesMapper.xml b/cloud-server-course/src/main/resources/mapper/CancelledClassesMapper.xml
index bf4e3b7..4126cec 100644
--- a/cloud-server-course/src/main/resources/mapper/CancelledClassesMapper.xml
+++ b/cloud-server-course/src/main/resources/mapper/CancelledClassesMapper.xml
@@ -8,11 +8,11 @@
         t2.name,
         CONCAT(t2.province, t2.city) AS provinceAndCity,
         t2.storeId,t2.coachId,
-        t2.name as courseName,t2.coachId,t3.studentId
+        t2.name as courseName,t2.coachId
         FROM
         t_cancelled_classes t1
         LEFT JOIN t_course_package t2 ON t1.coursePackageId = t2.id
-        inner join t_course_package_payment t3 on t1.coursePackagePaymentId = t3.id
+
         <where>
             <if test="query.courseName!=null and query.courseName!= ''">
                 and t2.name = #{query.courseName}
@@ -20,12 +20,7 @@
             <if test="sTime !=null and sTime!= '' and eTime !=null and eTime!= ''">
                 and t1.insertTime between #{sTime} and #{eTime}
             </if>
-            <if test="query.studentIds != null and query.studentIds.size()>0">
-                AND t3.studentId IN
-                <foreach collection="query.studentIds" separator="," item="id" open="(" close=")">
-                    #{id}
-                </foreach>
-            </if>
+
             <if test="query.coachIds != null and query.coachIds.size()>0">
                 AND t2.coachId IN
                 <foreach collection="query.coachIds" separator="," item="id" open="(" close=")">

--
Gitblit v1.7.1