|
|
|
@ -21,7 +21,7 @@ public class JyDepartmentChart extends JyChart {
|
|
|
|
|
new DepartmentComInfo().getAllChildDeptByDepId(ids,fecid);
|
|
|
|
|
ids.add(fecid);
|
|
|
|
|
String idsStr = StringUtils.join(ids, ",");
|
|
|
|
|
rs.executeQuery("select sum(staff_num) as num from jcl_org_staff where dept_id in(" + idsStr + ")");
|
|
|
|
|
rs.executeQuery("select sum(staff_num) as num from jcl_org_staff where dept_id in(" + idsStr + ") and delete_type = 0 ");
|
|
|
|
|
if (rs.next()) {
|
|
|
|
|
return String.valueOf(Convert.toInt(rs.getString("num"),0));
|
|
|
|
|
}
|
|
|
|
|