日期:2014-05-17 浏览次数:20747 次
//组织类型ID:组织类型名称 public static Map<Long, String> ORGTYPEID_ORGTYPENAME_MAP = new HashMap<Long, String>(); /** * 服务器启动5秒后执行 * @author ztx 2010-08-04 */ public void runBySeverStart(){ log.info("--------------Start:runByServerStart()-----------------"); commonService.initOrgType(); ... log.info("--------------End :runByServerStart()-------------------"); } public static String getOrgTypeNameByID(Long orgTypeID) { if (EcardParameters.ORGTYPEID_ORGTYPENAME_MAP.containsKey(orgTypeID)) { return EcardParameters.ORGTYPEID_ORGTYPENAME_MAP.get(orgTypeID); } else { return ""; } } <function> <description>根据组织类型ID获取组织类型名称</description> <name>getOrgTypeNameByID</name> <function-class>com.htdz.eCard.common.util.ParameterUtil</function-class> <function-signature>java.lang.String getOrgTypeNameByID(java.lang.Long)</function-signature> </function> ${fun:getOrgTypeNameByID(orgTypeID)}