Happy3w

NC获取用户信息

2017.02.14
InvocationInfoProxy:设置和获取当前线程中的用户登录信息。 nc.bs.framework.common.InvocationInfoProxy 如:
        
InvocationInfoProxy.getInstance().setGroupId(IOrgConst.GLOBEORG);
        InvocationInfoProxy.getInstance().setGroupNumber("0000");
        InvocationInfoProxy.getInstance().setRunAs(info.getRunAs());
        InvocationInfoProxy.getInstance().setUserCode(info.getUserCode());
        InvocationInfoProxy.getInstance().setUserId(info.getUserId());
        InvocationInfoProxy.getInstance().setUserDataSource(info.getUserDataSource());