虚拟维度表查询bug修复

pull/195/head
Mlin 2 years ago
parent 8ac0f45d29
commit 7417cbac79

@ -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")))

Loading…
Cancel
Save