Commit 61040438 authored by huyuchen's avatar huyuchen

档案完整监控

parent 749be96b
...@@ -262,8 +262,7 @@ ...@@ -262,8 +262,7 @@
ee.HAVE_QUALIFICATION ee.HAVE_QUALIFICATION
from t_employee_info ee from t_employee_info ee
left join t_atta_info tt on ee.id = tt.DOMAIN_ID and tt.RELATION_TYPE = '9' left join t_atta_info tt on ee.id = tt.DOMAIN_ID and tt.RELATION_TYPE = '9'
left join t_atta_info yy on ee.id = yy.DOMAIN_ID and yy.RELATION_TYPE = '10' where ee.DELETE_FLAG = '0' and ee.FILE_STATUS = 0 and tt.id is not null
where ee.DELETE_FLAG = '0' and ee.FILE_STATUS = 0 and tt.id is not null and yy.id is not null
group by ee.ID group by ee.ID
) e on a.EMP_ID = e.ID ) e on a.EMP_ID = e.ID
......
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