虚拟维度表查询bug修复

This commit is contained in:
Mlin 2023-07-14 10:51:30 +08:00
parent 8ac0f45d29
commit 7417cbac79
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ public class HrmResourceServiceImpl extends Service implements HrmResourceServic
}
}else {
rs.executeQuery("select h.id,h.workcode,h.lastname,h.sex,h.departmentid,h.subcompanyid1,h.jobtitle,h.status,h.mobile " +
" from hrmresourcevirtual v inner join hrmresource h on v.resourceid = h.id and v.virtualtype = ? and h.departmentid = ?",versionId,departmentId);
" from hrmresourcevirtual v inner join hrmresource h on v.resourceid = h.id and v.virtualtype = ? and v.departmentid = ?",dimension,departmentId);
while (rs.next()) {
ResourceChartPO build = ResourceChartPO.builder()
.id((long) Util.getIntValue(rs.getString("id")))