|
@@ -115,7 +115,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND g.business_id = #{businessId}
|
|
|
</if>
|
|
|
</if>
|
|
|
- order by uca.update_time
|
|
|
+ <if test="sort != null and sort == 0">
|
|
|
+ order by uca.create_time desc
|
|
|
+ </if>
|
|
|
+ <if test="sort == null and sort == ''">
|
|
|
+ order by uca.create_time
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<update id="delChildAnswer" parameterType="com.zhongzheng.modules.user.bo.UserCourseAnswerQueryBo" >
|