|
@@ -130,6 +130,20 @@
|
|
|
</if>
|
|
|
WHERE smcwd.monday_ = #{monday}
|
|
|
AND stu.user_id_=smcwd.user_id_
|
|
|
+ <if test="orderType==1">
|
|
|
+ <if test="heardLevel==null">
|
|
|
+ AND smcwd.advanced_max_score_ > 0
|
|
|
+ </if>
|
|
|
+ <if test="heardLevel=='BEGINNER'">
|
|
|
+ AND smcwd.beginner_max_score_ > 0
|
|
|
+ </if>
|
|
|
+ <if test="heardLevel=='ADVANCED'">
|
|
|
+ AND smcwd.advanced_max_score_ > 0
|
|
|
+ </if>
|
|
|
+ <if test="heardLevel=='PERFORMER'">
|
|
|
+ AND smcwd.performer_max_score_ > 0,
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
ORDER BY
|
|
|
<if test="orderType==null">
|
|
|
smcwd.train_time_ DESC,
|