| | |
| | | signInOrNot, |
| | | reservationStatus |
| | | from t_course_package_student where coursePackageSchedulingId = #{coursePackageSchedulingId} |
| | | and reservationStatus != 3 |
| | | <if test="null != userId"> |
| | | and appUserId in |
| | | <foreach collection="appUserId" item="item" index="index" separator="," open="(" close=")"> |
| | |
| | | SELECT |
| | | *, |
| | | pg.NAME AS className, |
| | | ty.`name` AS classType |
| | | pg.`type` AS classType |
| | | FROM |
| | | t_course_package_payment py |
| | | LEFT JOIN t_course_package pg ON py.coursePackageId = pg.id |
| | | LEFT JOIN t_course_package_type ty ON pg.type = ty.id |
| | | |
| | | |
| | | <where> |
| | | <if test="null != tStudentId"> |