遍历枚类型的方法:	
public static EActChannel getEnumByCode(int code) {
for (EActChannel enm : EActChannel.values()) {
if (code == enm.getCode()) {
return enm;
}
}
return null;
}

  

04-30 01:14