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