|
@@ -580,6 +580,7 @@
|
|
|
IFNULL(p.count_,0) AS buyCount,
|
|
|
g.teacher_id_ AS teacherId,
|
|
|
u.username_ AS teacherName,
|
|
|
+ g.pay_type_ AS payType,
|
|
|
u.real_name_ AS teacherRealName,
|
|
|
g.create_time_ AS createTime,
|
|
|
g.shelves_time_ AS recordTime,
|
|
@@ -622,6 +623,9 @@
|
|
|
<if test="param.relationType != null">
|
|
|
AND g.relation_type_ = #{param.relationType}
|
|
|
</if>
|
|
|
+ <if test="param.payType != null">
|
|
|
+ AND g.pay_type_ = #{param.payType}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by g.top_flag_ desc ,g.sort_number_ desc,g.id_ desc
|
|
|
</select>
|