From 7fe6d026bcc8f993ce76437d01607e591cc671fe Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期六, 25 十一月 2023 17:20:02 +0800 Subject: [PATCH] 重写课包支付和排课逻辑 --- cloud-server-course/src/main/resources/mapper/CoursePackageStudentMapper.xml | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cloud-server-course/src/main/resources/mapper/CoursePackageStudentMapper.xml b/cloud-server-course/src/main/resources/mapper/CoursePackageStudentMapper.xml index be9a00a..8cd79c2 100644 --- a/cloud-server-course/src/main/resources/mapper/CoursePackageStudentMapper.xml +++ b/cloud-server-course/src/main/resources/mapper/CoursePackageStudentMapper.xml @@ -14,12 +14,12 @@ signInOrNot, reservationStatus from t_course_package_student where 1=1 - <if test="ids != null and ids.size() > 0"> - and coursePackageSchedulingId in - <foreach collection="ids" close=")" item="id" open="(" separator=","> - #{id} - </foreach> - </if> + <if test="ids != null and ids.size() > 0"> + and coursePackageSchedulingId in + <foreach collection="ids" close=")" item="id" open="(" separator=","> + #{id} + </foreach> + </if> and reservationStatus != 3 <if test="null != userId"> @@ -52,12 +52,12 @@ <select id="getClassList" resultType="com.dsh.course.entity.dto.ClassListDto"> SELECT - *, - pg.NAME AS className, - pg.`type` AS classType + *, + pg.NAME AS className, + pg.`type` AS classType FROM - t_course_package_payment py - LEFT JOIN t_course_package pg ON py.coursePackageId = pg.id + t_course_package_payment py + LEFT JOIN t_course_package pg ON py.coursePackageId = pg.id <where> <if test="null != tStudentId"> -- Gitblit v1.7.1