package com.artfess.bpm.util;

import java.io.IOException;

import com.artfess.base.feign.SystemConfigFeignService;
import org.apache.http.client.ClientProtocolException;


import com.artfess.base.util.AppUtil;

public class PortalDataUtil {
	/**
	 * 根据别名获取系统属性。
	 * @param bpmProcessDefExt
	 * @param jsonObj 
	 * void
	 * @throws IOException 
	 * @throws ClientProtocolException 
	 */
	public static String  getPropertyByAlias(String alias){

		try {
			SystemConfigFeignService service = AppUtil.getBean(SystemConfigFeignService.class);
			return service.getPropertyByAlias(alias);
		}  catch (Exception e) {
			throw new RuntimeException(e);
		}
	}
	
}
