@@ -61,6 +61,14 @@
AND t4.enroll_type = #{dto.treeId}
</if>
+ <if test="dto.field != null and dto.field != '' and dto.field == 'score'">
+ <if test="dto.order == 'descend'">
+ order by t1.score desc
+ </if>
+ <if test="dto.order == 'ascend'">
+ order by t1.score asc
</select>
<select id="getEnrollmentPlanList" resultType="com.xjrsoft.module.student.vo.EnrollmentPlanTreeVo">
SELECT t1.enroll_type, t2.name AS enroll_type_cn,t3.name AS grade_name, t3.id as grade_id,t1.id FROM enrollment_plan t1