|
@@ -528,14 +528,14 @@
|
|
</select>
|
|
</select>
|
|
<select id="teacherIncomeList"
|
|
<select id="teacherIncomeList"
|
|
resultType="com.yonge.cooleshow.biz.dal.wrapper.TeacherIndexWrapper$TeacherIncome">
|
|
resultType="com.yonge.cooleshow.biz.dal.wrapper.TeacherIndexWrapper$TeacherIncome">
|
|
- select uo.user_id_ userId,ttar.trans_amount_ amount,
|
|
|
|
|
|
+ select uo.user_id_ userId,
|
|
<if test="param.type != 'MUSIC'">
|
|
<if test="param.type != 'MUSIC'">
|
|
cg.course_num_ bizQuantity,
|
|
cg.course_num_ bizQuantity,
|
|
</if>
|
|
</if>
|
|
<if test="param.type == 'MUSIC'">
|
|
<if test="param.type == 'MUSIC'">
|
|
1 bizQuantity,
|
|
1 bizQuantity,
|
|
</if>
|
|
</if>
|
|
- uo.create_time_ orderTime,cg.name_ bizName
|
|
|
|
|
|
+ ttar.trans_amount_ amount,uo.create_time_ orderTime,cg.name_ bizName
|
|
from tenant_teacher_account_record ttar
|
|
from tenant_teacher_account_record ttar
|
|
left join user_order uo ON uo.order_no_ = ttar.order_no_
|
|
left join user_order uo ON uo.order_no_ = ttar.order_no_
|
|
<if test="param.type != 'MUSIC'">
|
|
<if test="param.type != 'MUSIC'">
|