luo
2023-09-26 d954784593cb24b0455529ea28588a317c5d766f
cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
@@ -132,15 +132,7 @@
    <select id="getStudentIds" resultType="java.lang.Integer">
        SELECT studentId
        FROM t_course_package_payment
        WHERE appUserId = (
            SELECT appUserId
            FROM t_course_package_payment
            WHERE id = #{id}
        ) AND id != #{id} and coursePackageId=(
             SELECT coursePackageId
            FROM t_course_package_payment
            WHERE id = #{id}
            )
        WHERE appUserId = #{appId} AND id != #{id} and coursePackageId=#{classId}
    </select>