Commit 5999cf23 authored by fangxinjiang's avatar fangxinjiang

合同派单排序按申请编号 倒序

parent 1676528f
......@@ -431,7 +431,7 @@
${tEmployeeContractInfo.authSql}
</if>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!--list-->
......@@ -443,7 +443,7 @@
a.DELETE_FLAG = 0
<include refid="tEmployeeContractInfo_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!--导出-->
......@@ -459,7 +459,7 @@
</if>
</where>
GROUP BY a.id
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!--导出历史合并-->
......@@ -479,7 +479,7 @@
</if>
</where>
GROUP BY a.EMP_IDCARD,a.SETTLE_DOMAIN
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!--tEmployeeContractInfo简单分页查询-->
......@@ -537,7 +537,7 @@
${tEmployeeContractInfo.authSql}
</if>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
<if test="tEmployeeContractInfo != null">
<if test="tEmployeeContractInfo.limitStart != null">
limit #{tEmployeeContractInfo.limitStart},#{tEmployeeContractInfo.limitEnd}
......
......@@ -547,7 +547,7 @@
<include refid="tDispatchInfo_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!--tDispatchInfo简单分页查询-->
......@@ -562,7 +562,7 @@
<include refid="tDispatchInfo_where"/>
</where>
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</select>
<!-- 派单导出 -->
......@@ -600,7 +600,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>
......@@ -652,7 +652,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>
......@@ -967,7 +967,7 @@
</if>
</if>
group by a.id
order by a.CREATE_TIME desc
order by a.APPLY_NO desc
</where>
</sql>
......@@ -1077,7 +1077,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