|
|
|
@ -108,6 +108,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("0");
|
|
|
|
|
item.setFnumber(rs.getString("companycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand("1");
|
|
|
|
|
chartList.add(item);
|
|
|
|
@ -124,6 +125,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("1");
|
|
|
|
|
item.setFnumber(rs.getString("subcompanycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand("1");
|
|
|
|
|
chartList.add(item);
|
|
|
|
@ -158,6 +160,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("1");
|
|
|
|
|
item.setFnumber(rs.getString("subcompanycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand("0");
|
|
|
|
|
chartList.add(item);
|
|
|
|
@ -176,6 +179,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
jyChart.setFtype("2");
|
|
|
|
|
jyChart.setFnumber(rs.getString("departmentcode"));
|
|
|
|
|
jyChart.setFecid(rs.getString("id"));
|
|
|
|
|
jyChart.setUuid(rs.getString("uuid"));
|
|
|
|
|
jyChart.setFisvitual("0");
|
|
|
|
|
jyChart.setExpand("0");
|
|
|
|
|
chartList.add(jyChart);
|
|
|
|
@ -227,6 +231,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("0");
|
|
|
|
|
item.setFnumber(rs.getString("companycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand("1");
|
|
|
|
|
chartList.add(item);
|
|
|
|
@ -243,6 +248,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("1");
|
|
|
|
|
item.setFnumber(rs.getString("subcompanycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand("1");
|
|
|
|
|
chartList.add(item);
|
|
|
|
@ -277,6 +283,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("1");
|
|
|
|
|
item.setFnumber(rs.getString("subcompanycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand("0");
|
|
|
|
|
chartList.add(item);
|
|
|
|
@ -295,6 +302,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
jyChart.setFtype("2");
|
|
|
|
|
jyChart.setFnumber(rs.getString("departmentcode"));
|
|
|
|
|
jyChart.setFecid(rs.getString("id"));
|
|
|
|
|
jyChart.setUuid(rs.getString("uuid"));
|
|
|
|
|
jyChart.setFisvitual("0");
|
|
|
|
|
jyChart.setExpand("0");
|
|
|
|
|
chartList.add(jyChart);
|
|
|
|
@ -314,6 +322,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
jyChart.setFtype("3");
|
|
|
|
|
jyChart.setFnumber(rs.getString("job_no"));
|
|
|
|
|
jyChart.setFecid(rs.getString("id"));
|
|
|
|
|
jyChart.setUuid(rs.getString("uuid"));
|
|
|
|
|
jyChart.setFisvitual("0");
|
|
|
|
|
jyChart.setExpand("0");
|
|
|
|
|
chartList.add(jyChart);
|
|
|
|
@ -343,6 +352,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("1");
|
|
|
|
|
item.setFnumber(rs.getString("subcompanycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand(currentLevel > 0 ? "1" : "0");
|
|
|
|
|
subCompanyList.add(item);
|
|
|
|
@ -369,6 +379,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("2");
|
|
|
|
|
item.setFnumber(rs.getString("departmentcode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand(currentLevel > 0 ? "1" : "0");
|
|
|
|
|
departmentList.add(item);
|
|
|
|
@ -393,6 +404,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("1");
|
|
|
|
|
item.setFnumber(rs.getString("subcompanycode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand(currentLevel > 0 ? "1" : "0");
|
|
|
|
|
subCompanyList.add(item);
|
|
|
|
@ -420,6 +432,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("2");
|
|
|
|
|
item.setFnumber(rs.getString("departmentcode"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand(currentLevel > 0 ? "1" : "0");
|
|
|
|
|
departmentList.add(item);
|
|
|
|
@ -445,6 +458,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("3");
|
|
|
|
|
item.setFnumber(rs.getString("job_no"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand(currentLevel > 0 ? "1" : "0");
|
|
|
|
|
jobList.add(item);
|
|
|
|
@ -471,6 +485,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
|
item.setFtype("4");
|
|
|
|
|
item.setFnumber(rs.getString("hrmresource"));
|
|
|
|
|
item.setFecid(rs.getString("id"));
|
|
|
|
|
item.setUuid(rs.getString("uuid"));
|
|
|
|
|
item.setFisvitual("0");
|
|
|
|
|
item.setExpand(currentLevel > 0 ? "1" : "0");
|
|
|
|
|
resourceList.add(item);
|
|
|
|
|