| | |
| | | <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> |
| | | |
| | | <update id="updateBytime"> |
| | | update t_course_package_payment |
| | | set laveClassHours = #{coursePackagePayment.laveClassHours},absencesNumber=#{coursePackagePayment.absencesNumber} |
| | | where id = #{coursePackagePayment.id} |
| | | </update> |
| | | </mapper> |