|
@@ -249,7 +249,7 @@
|
|
<include refid="queryCloudTeacherActiveDetailSql"/>
|
|
<include refid="queryCloudTeacherActiveDetailSql"/>
|
|
</select>
|
|
</select>
|
|
<select id="queryActiveOrderPage" resultMap="CloudTeacherOrder">
|
|
<select id="queryActiveOrderPage" resultMap="CloudTeacherOrder">
|
|
- SELECT cto.* FROM cloud_teacher_order cto
|
|
|
|
|
|
+ SELECT GROUP_CONCAT(DISTINCT cto.remark_) FROM cloud_teacher_order cto
|
|
LEFT JOIN student_payment_order spo ON spo.id_ = cto.order_id_
|
|
LEFT JOIN student_payment_order spo ON spo.id_ = cto.order_id_
|
|
WHERE spo.status_ != 'FAILED' AND cto.active_remark_ = #{activeRemark}
|
|
WHERE spo.status_ != 'FAILED' AND cto.active_remark_ = #{activeRemark}
|
|
AND cto.student_id_ = #{userId}
|
|
AND cto.student_id_ = #{userId}
|