From 0fb7c94c07cbb25e46f430b04538d7034755acbc Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Thu, 19 Dec 2024 15:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/changhu/pojo/dto/SecurityUnitUseStatisticsDTO.java | 2 ++ .../src/main/resources/mapper/OpenApiMapper.xml | 1 + 2 files changed, 3 insertions(+) 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(