Browse Source

add 考级报名链接修改

周箭河 4 years ago
parent
commit
a6537ba5bf

+ 3 - 3
mec-biz/src/main/resources/config/mybatis/StudentRegistrationMapper.xml

@@ -1370,13 +1370,13 @@
         </if>
         </where>
         <if test="orderByPerRegister != null and orderByPayTime == null">
-            ORDER BY spr.create_time_ #{orderByPerRegister},u.user_id_ ASC
+            ORDER BY spr.create_time_ ${orderByPerRegister},u.user_id_ ASC
         </if>
         <if test="orderByPerRegister != null and orderByPayTime != null">
-            ORDER BY spr.create_time_ #{orderByPerRegister}, o.payTime #{orderByPayTime},u.user_id_ ASC
+            ORDER BY spr.create_time_ ${orderByPerRegister},o.payTime ${orderByPayTime},u.user_id_ ASC
         </if>
         <if test="orderByPerRegister == null and orderByPayTime != null">
-            ORDER BY o.payTime #{orderByPayTime},u.user_id_ ASC
+            ORDER BY o.payTime ${orderByPayTime},u.user_id_ ASC
         </if>
         <include refid="global.limit"/>
     </select>