|
@ -405,6 +405,8 @@ public class RoleUserEndPoint extends EnvelopRestEndPoint {
|
|
|
List<MOrgMemberRlaJson> orgDeptJsonList = objectMapper.readValue(orgModel, new TypeReference<List<MOrgMemberRlaJson>>() {
|
|
|
});
|
|
|
if (orgDeptJsonList != null && orgDeptJsonList.size() > 0) {
|
|
|
// 根据userId获取用户信息
|
|
|
User user = userService.getUser(userId);
|
|
|
for (MOrgMemberRlaJson mOrgDeptJson : orgDeptJsonList) {
|
|
|
orgId = mOrgDeptJson.getOrgId().toString();
|
|
|
deptIds = Arrays.asList(mOrgDeptJson.getDeptIds().split(","));
|
|
@ -419,6 +421,8 @@ public class RoleUserEndPoint extends EnvelopRestEndPoint {
|
|
|
orgMemberRelation.setUserId(userId);
|
|
|
//存储的是资源字典中行政业务管理职称的编码
|
|
|
orgMemberRelation.setDutyName(dutyId);
|
|
|
// 存储用户名
|
|
|
orgMemberRelation.setUserName(null != user ? user.getRealName() : "");
|
|
|
//TODO 验证数据存储
|
|
|
// 获取机构关联信息 - 名称
|
|
|
orgMemberRelation.setOrgId(orgId);
|