组织架构图重构-BUG修复

pull/172/head
dxfeng 2 years ago
parent c993cafab4
commit 78c4aa5127

@ -123,7 +123,7 @@ public class ChartServiceImpl extends Service implements ChartService {
return "select id,companyname as 'name','0' as 'type' from " + COMPANY_TABLE;
} else {
// 查询其他维度集团信息
return "select id,companyname as 'name','0' as 'type' from " + COMPANY_TABLE + "where id = '" + dimension + "'";
return "select id,companyname as 'name','0' as 'type' from " + COMPANY_TABLE + " where id = '" + dimension + "'";
}
} else {
if (hasVirtualFields) {
@ -134,7 +134,7 @@ public class ChartServiceImpl extends Service implements ChartService {
}
} else {
return "select id,subcompanyname as 'name','1' as 'type' from " + SUB_COMPANY_TABLE + "where id = '" + root + "'";
return "select id,subcompanyname as 'name','1' as 'type' from " + SUB_COMPANY_TABLE + " where id = '" + root + "'";
}
}
}

Loading…
Cancel
Save