Commit 2d515686 authored by hongguangwu's avatar hongguangwu

order by a.CREATE_TIME desc

parent 9c319e1d
......@@ -411,11 +411,10 @@
select
<include refid="baseParam"/>
from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
where a.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/>
${sql}
group by a.id order by a.CREATE_TIME desc
order by a.CREATE_TIME desc
</select>
<!-- hgw 分页查询 -->
......@@ -454,10 +453,9 @@
select
<include refid="baseParam"/>
from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
where a.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/>
group by a.id order by a.CREATE_TIME desc
order by a.CREATE_TIME desc
</select>
<!-- hgw 根据身份证查询 -->
......@@ -547,7 +545,7 @@
a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/>
</where>
GROUP BY a.id
GROUP BY a.id order by a.CREATE_TIME desc
</select>
<!--tEmployeeInfo离职档案导出查询-->
......@@ -567,7 +565,7 @@
a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/>
</where>
GROUP BY a.id
GROUP BY a.id order by a.CREATE_TIME desc
) b
where 1=1
<if test="tEmployeeInfo.unitName != null and tEmployeeInfo.unitName.trim() != ''">
......
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