Commit f8d574a8 authored by wujiang's avatar wujiang

修改xml

parent 6b41dba7
......@@ -189,10 +189,10 @@
</where>
<if test="dto.orderColumns != null and dto.orderColumns != ''">
order by ${dto.orderColumns}
order by ${dto.orderColumns},ts desc
</if>
<if test="(dto.orderColumns == null or dto.orderColumns == '') and dto.sortOne != null and dto.sortOne != ''">
order by ${dto.sortOne}
order by ${dto.sortOne},ts desc
</if>
limit #{dto.current}, #{dto.size}
</select>
......
......@@ -220,10 +220,10 @@
</where>
<if test="dto.orderColumns != null and dto.orderColumns != ''">
order by ${dto.orderColumns}
order by ${dto.orderColumns},ts desc
</if>
<if test="(dto.orderColumns == null or dto.orderColumns == '') and dto.sortOne != null and dto.sortOne != ''">
order by ${dto.sortOne}
order by ${dto.sortOne},ts desc
</if>
limit #{dto.current}, #{dto.size}
</select>
......
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