diff --git a/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/FastJson2Config.java b/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/FastJson2Config.java index c6f6ed8..13fc834 100644 --- a/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/FastJson2Config.java +++ b/policeSecurityServer/src/main/java/com/changhu/support/fastjson2/FastJson2Config.java @@ -88,8 +88,6 @@ public class FastJson2Config { JSONWriter.Feature.WriteNullListAsEmpty, //将String类型字段的空值序列化输出为空字符串”” JSONWriter.Feature.WriteNullStringAsEmpty, - //将Boolean类型字段的空值序列化输出为false - JSONWriter.Feature.WriteNullBooleanAsFalse, //在大范围超过JavaScript支持的整数,输出为字符串格式 JSONWriter.Feature.BrowserCompatible, //保留map空的字段 diff --git a/policeSecurityServer/src/main/resources/mapper/AdministrativeDivisionMapper.xml b/policeSecurityServer/src/main/resources/mapper/AdministrativeDivisionMapper.xml index 256a042..20ca9d1 100644 --- a/policeSecurityServer/src/main/resources/mapper/AdministrativeDivisionMapper.xml +++ b/policeSecurityServer/src/main/resources/mapper/AdministrativeDivisionMapper.xml @@ -12,13 +12,7 @@ and level <= #{level} order by code - - - - select ad1.code as 'value', ad1.name as 'label', ad1.parent_code as 'parentValue',