Commit e4f90898 authored by fangxinjiang's avatar fangxinjiang

派单页面排序

parent 4121614e
......@@ -574,7 +574,7 @@
1=1
<include refid="tDispatchInfo_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!--tDispatchInfo简单分页查询-->
......@@ -589,7 +589,7 @@
<include refid="tDispatchInfo_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!-- 派单导出 -->
......@@ -654,7 +654,7 @@
a.DELETE_FLAG = '0'
<include refid="tDispatchInfo_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
<if test="tDispatchInfo.limitStart != null">
limit #{tDispatchInfo.limitStart},#{tDispatchInfo.limitEnd}
</if>
......@@ -706,7 +706,7 @@
a.DELETE_FLAG = '0' and a.STATUS = '1'
<include refid="tDispatchInfoAudit_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
<if test="tDispatchInfo.limitStart != null">
limit #{tDispatchInfo.limitStart},#{tDispatchInfo.limitEnd}
</if>
......@@ -1021,7 +1021,7 @@
</if>
</if>
group by a.id
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</where>
</sql>
......@@ -1131,7 +1131,7 @@
</if>
</if>
group by a.id
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</where>
</sql>
......
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