diff --git a/src/com/engine/organization/service/impl/JyChartServiceImpl.java b/src/com/engine/organization/service/impl/JyChartServiceImpl.java index 511f31c1..83797833 100644 --- a/src/com/engine/organization/service/impl/JyChartServiceImpl.java +++ b/src/com/engine/organization/service/impl/JyChartServiceImpl.java @@ -313,7 +313,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService { }else if (splitId.startsWith("j_")) { // 岗位 String chartId = getChartId(splitId); - rs.executeQuery("select * from jcl_org_job where id = ?", chartId); + rs.executeQuery("select * from jcl_org_job where id = ? ", chartId); if (rs.next()) { JyJobChart jyChart = new JyJobChart(); jyChart.setId("j_" + rs.getString("id")); @@ -448,7 +448,7 @@ public class JyChartServiceImpl extends Service implements OrgChartService { if (currentLevel < 0) { return; } - rs.executeQuery("select * from jcl_org_job where ec_department = ? and ifnull(forbidden_tag,0)=0 order by show_order ", departmentId); + rs.executeQuery("select * from jcl_org_job where ec_department = ? and ifnull(forbidden_tag,0)=0 and ifnull(delete_type,0)=0 order by show_order ", departmentId); List jobList = new ArrayList<>(); while (rs.next()) { JyJobChart item = new JyJobChart();