diff --git a/policeSecurityServer/src/main/java/com/changhu/pojo/dto/SecurityUnitUseStatisticsDTO.java b/policeSecurityServer/src/main/java/com/changhu/pojo/dto/SecurityUnitUseStatisticsDTO.java index 8183797..c1784a8 100644 --- a/policeSecurityServer/src/main/java/com/changhu/pojo/dto/SecurityUnitUseStatisticsDTO.java +++ b/policeSecurityServer/src/main/java/com/changhu/pojo/dto/SecurityUnitUseStatisticsDTO.java @@ -43,6 +43,8 @@ public class SecurityUnitUseStatisticsDTO { @Schema(description = "公安单位id") private Long policeUnitId; + @Schema(description = "公安代为代码") + private String policeUnitCode; @Schema(description = "公安单位名称") private String policeUnitName; diff --git a/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml b/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml index 6d49de7..f6030a5 100644 --- a/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml +++ b/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml @@ -110,6 +110,7 @@ ad4.name as 'streetName', eu.address as 'address', pu.snow_flake_id as 'policeUnitId', + pu.code as 'policeUnitCode', pu.name as 'policeUnitName', json_arrayagg( json_object(