Commit aabb153f authored by xinglei's avatar xinglei

*)通话记录增加时间倒序

parent 0bc54db0
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</if> </if>
<choose> <choose>
<when test="sortParam != null and sortParam != '' and sortRule != null and sortRule != '' "> <when test="sortParam != null and sortParam != '' and sortRule != null and sortRule != '' ">
ORDER BY ${sortParam} ${sortRule} ORDER BY r.${sortParam} ${sortRule}
</when> </when>
<otherwise> <otherwise>
ORDER BY r.tel_start_time desc ORDER BY r.tel_start_time desc
......
...@@ -108,7 +108,7 @@ public class VoiceRecordFileController extends BaseController { ...@@ -108,7 +108,7 @@ public class VoiceRecordFileController extends BaseController {
sortRule = "desc"; sortRule = "desc";
} }
}else { }else {
sortParam = "call_time"; sortParam = "rec_date";
sortRule = "desc"; sortRule = "desc";
} }
Page<VoiceRecordFileDto> pageBean = voiceRecordFileService.queryRecordListByQueryDto(page, Page<VoiceRecordFileDto> pageBean = voiceRecordFileService.queryRecordListByQueryDto(page,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment