Commit ef974d1f authored by 赵啸非's avatar 赵啸非

添加菜单资源配置

parent 88039757
......@@ -78,6 +78,8 @@ public class RoleAuthServiceImpl extends AbstractCRUDServiceImpl<RoleAuthDao, Ro
RoleAuthEntity entity = new RoleAuthEntity();
entity.setRoleId(roleId);
entity.setResourceId(sourceId);
entity.setCreateUserId(this.getContextUserId(context));
entity.setCreateTime(new Date());
list.add(entity);
}
this.dao.insertBatch(list);
......
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