|
@@ -140,8 +140,8 @@
|
|
|
<!-- 查询用户注册订单详情 -->
|
|
|
<select id="findUserApplyOrder" resultMap="StudentPaymentOrderDetail">
|
|
|
SELECT spod.*
|
|
|
- FROM student_payment_order spo
|
|
|
- LEFT JOIN student_payment_order_detail spod ON spo.id_ = spod.payment_order_id_
|
|
|
+ FROM student_payment_order_detail spod
|
|
|
+ LEFT JOIN student_payment_order spo ON spo.id_ = spod.payment_order_id_
|
|
|
WHERE spo.user_id_ = #{userId}
|
|
|
AND spo.music_group_id_ = #{musicGroupId}
|
|
|
AND spo.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|