pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/util/DistrictLevel.java
@@ -15,6 +15,7 @@ */ public enum DistrictLevel implements IEnum { Province((byte)0, "省"), City((byte)1, "市"), County((byte)2, "县"), Town((byte)3, "镇"), @@ -52,7 +53,9 @@ } public static DistrictLevel get(Byte code){ if(code.byteValue() == City.code.byteValue()){ if(code.byteValue() == Province.code.byteValue()) { return Province; }else if(code.byteValue() == City.code.byteValue()){ return City ; }else if(code.byteValue() == County.code.byteValue()){ return County ;