组织透视图,岗位数据查询BUG修复

feature/jingyou
dxfeng 10 months ago
parent 5822b37375
commit 7d0c7282b8

@ -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<JyJobChart> jobList = new ArrayList<>();
while (rs.next()) {
JyJobChart item = new JyJobChart();

Loading…
Cancel
Save