You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-third-java/src/main/java/com/glxp/mipsdl/util/DictUtl.java

43 lines
639 B
Java

package com.glxp.mipsdl.util;
import java.util.List;
import java.util.Map;
/**
* 字典工具类
*/
public class DictUtl {
/**
* 医院编码
*/
public static List<String> HOSP_CODE;
/**
* 医院名称
*/
public static List<String> HOSP_NAME;
/**
* 医院编码字典
*/
public static Map<String, String> HOSP_DICT;
/**
* 当前医院编码
*/
public static String CURRENT_HOSP_CODE;
/**
* 获取医院名称
*
* @param code
* @return
*/
public String getHospName(String code) {
return HOSP_DICT.get(code);
}
}