|
|
@@ -496,6 +496,7 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
|
|
|
if (admin.getIntentionCount()==null)admin.setIntentionCount(0);
|
|
|
if (admin.getKeynoteCount()==null)admin.setKeynoteCount(0);
|
|
|
if (admin.getGeneralCount()==null)admin.setGeneralCount(0);
|
|
|
+ if (admin.getFirstInterviewCount()==null)admin.setFirstInterviewCount(0);
|
|
|
}
|
|
|
|
|
|
//迭代获取所有部门与部门员工并计算出部门数量
|
|
|
@@ -519,7 +520,8 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
|
|
|
*/
|
|
|
public void sumCount(DepCountBo ab) {
|
|
|
int completeCount=0,receiveCount=0,userCount=0,signCount=0,channelCount=0,newCount=0,channelNewCount=0,
|
|
|
- channelCompleteCount=0,transferCount=0,intentionCount=0,keynoteCount=0,generalCount=0;
|
|
|
+ channelCompleteCount=0,transferCount=0,intentionCount=0,keynoteCount=0,generalCount=0,firstInterviewCount=0;
|
|
|
+
|
|
|
if (ab.getList()!=null&&!ab.getList().isEmpty()) {
|
|
|
for (DepCountBo a : ab.getList()) {
|
|
|
if (a.getCompleteCount()!=null&& a.getCompleteCount()!=0) completeCount+=a.getCompleteCount();
|
|
|
@@ -534,6 +536,7 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
|
|
|
if (a.getIntentionCount()!=null&& a.getIntentionCount()!=0) intentionCount+=a.getIntentionCount();
|
|
|
if (a.getKeynoteCount()!=null&& a.getKeynoteCount()!=0) keynoteCount+=a.getKeynoteCount();
|
|
|
if (a.getGeneralCount()!=null&& a.getGeneralCount()!=0) generalCount=a.getGeneralCount();
|
|
|
+ if (a.getFirstInterviewCount()!=null&& a.getFirstInterviewCount()!=0) firstInterviewCount+=a.getFirstInterviewCount();
|
|
|
}
|
|
|
}
|
|
|
if (ab.getaList()!=null&&!ab.getaList().isEmpty()) {
|
|
|
@@ -550,6 +553,7 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
|
|
|
if (a.getIntentionCount()!=null&& a.getIntentionCount()!=0) intentionCount+=a.getIntentionCount();
|
|
|
if (a.getKeynoteCount()!=null&& a.getKeynoteCount()!=0) keynoteCount+=a.getKeynoteCount();
|
|
|
if (a.getGeneralCount()!=null&& a.getGeneralCount()!=0) generalCount=a.getGeneralCount();
|
|
|
+ if (a.getFirstInterviewCount()!=null&& a.getFirstInterviewCount()!=0) firstInterviewCount+=a.getFirstInterviewCount();
|
|
|
}
|
|
|
}
|
|
|
ab.setCompleteCount(completeCount);
|
|
|
@@ -564,6 +568,7 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
|
|
|
ab.setIntentionCount(intentionCount);
|
|
|
ab.setKeynoteCount(keynoteCount);
|
|
|
ab.setGeneralCount(generalCount);
|
|
|
+ ab.setFirstInterviewCount(firstInterviewCount);
|
|
|
|
|
|
}
|
|
|
|