This commit is contained in:
杜建超 2020-11-16 09:57:27 +08:00
parent bbb8222ab0
commit bec7aa5457

View File

@ -412,7 +412,12 @@
)
</if>
<if test="scoreLevel !=null">
and r.score_level = #{scoreLevel}
<if test="scoreLevel == ''">
and r.score_level is null
</if>
<if test="scoreLevel != ''">
and r.score_level = #{scoreLevel}
</if>
</if>
ORDER BY all_score desc
</select>