Commit e4f90898 authored by fangxinjiang's avatar fangxinjiang

派单页面排序

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