Merge pull request '组织架构图重构-BUG修复' (#172) from feature/dxf into develop

Reviewed-on: http://221.226.25.34:3000/liang.cheng/weaver-hrm-organization/pulls/172
This commit is contained in:
dxfeng 2023-06-30 17:13:57 +08:00
commit 2a6807e855
1 changed files with 2 additions and 2 deletions

View File

@ -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 + "'";
}
}
}