Commit d78606ed authored by huyuchen's avatar huyuchen

档案完整监控

parent a7c2d8fe
...@@ -162,8 +162,8 @@ ...@@ -162,8 +162,8 @@
a.DEPT_NO, a.DEPT_NO,
a.DEPT_ID, a.DEPT_ID,
a.BUSINESS_PRIMARY_TYPE, a.BUSINESS_PRIMARY_TYPE,
,a.BUSINESS_SECOND_TYPE, a.BUSINESS_SECOND_TYPE,
,a.BUSINESS_THIRD_TYPE, a.BUSINESS_THIRD_TYPE,
count(a.EMP_IDCARD) as INUSE_PERSON_NUM, count(a.EMP_IDCARD) as INUSE_PERSON_NUM,
if(sum(if(a.PROJECT_STATUS = 0 and a.IS_COMPLETE = '0',0,1)) > 0,1,0) as IS_COMPLETE, if(sum(if(a.PROJECT_STATUS = 0 and a.IS_COMPLETE = '0',0,1)) > 0,1,0) as IS_COMPLETE,
sum(if(a.IS_COMPLETE = '0',0,1)) as INCOMPLETE_NUM, sum(if(a.IS_COMPLETE = '0',0,1)) as INCOMPLETE_NUM,
......
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