Commit be447289 authored by wangzb's avatar wangzb

feature-wzb :bug修复

parent 37394f2f
...@@ -886,8 +886,6 @@ ...@@ -886,8 +886,6 @@
INNER JOIN ( SELECT EMP_ID, MAX( CREATE_TIME ) CREATE_TIME FROM t_employee_contract_info GROUP BY EMP_ID ) t2 ON t2.EMP_ID = t1.EMP_ID INNER JOIN ( SELECT EMP_ID, MAX( CREATE_TIME ) CREATE_TIME FROM t_employee_contract_info GROUP BY EMP_ID ) t2 ON t2.EMP_ID = t1.EMP_ID
AND t2.CREATE_TIME = t1.CREATE_TIME AND t2.CREATE_TIME = t1.CREATE_TIME
WHERE WHERE
t1.CONTRACT_TYPE = '1'
AND
t1.IN_USE='0' t1.IN_USE='0'
) AS t ON t.EMP_ID = a.EMP_ID AND a.DEPT_NO=t.DEPT_NO ) AS t ON t.EMP_ID = a.EMP_ID AND a.DEPT_NO=t.DEPT_NO
<where> <where>
......
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