Commit db75c28a authored by 雍欢's avatar 雍欢

流程审批界面,列表处理人带上涉密等级

parent d66451fe
......@@ -2336,6 +2336,17 @@ public class FlowBroker extends BaseApplication implements TaskListener, Executi
}
}
// 查询人员密级
for (Map<String, Object> handler : (List<Map<String, Object>>) result.get(Constants.ROWS)) {
String handlerId = (String) handler.get("handlerId");
Person person = orgApplication.loadOrg(handlerId).getPerson();
String personSecurityGrade = person.getPersonSecurityGrade();
if (StringUtils.isNotBlank(personSecurityGrade)) {
String personSecurityGradeText = SystemCache.getDictionaryDetailText("personSecurityGrade", personSecurityGrade);
handler.put("personSecurityGrade", personSecurityGrade);
handler.put("personSecurityGradeTextView", personSecurityGradeText);
}
}
ThreadLocalUtil.putVariable("queryHandlers", result);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment