From 798de2a7ef2117ce6a206ff6d8acf98f74dd8974 Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Thu, 18 Jun 2020 19:15:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E9=83=A8=E7=AE=A1=E7=90=86v3:?= =?UTF-8?q?=E5=85=9A=E6=94=AF=E9=83=A8=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=80=BB=E4=BA=BA=E6=95=B0=E8=BF=94=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/epmet/dto/result/PartyBranchListResultDTO.java | 5 +++++ .../java/com/epmet/dto/result/ListPartyBranchResultDTO.java | 5 +++++ .../src/main/resources/mapper/CustomerPartyBranchDao.xml | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/epmet-module/gov-grid/gov-grid-client/src/main/java/com/epmet/dto/result/PartyBranchListResultDTO.java b/epmet-module/gov-grid/gov-grid-client/src/main/java/com/epmet/dto/result/PartyBranchListResultDTO.java index 01920b0819..8057699458 100644 --- a/epmet-module/gov-grid/gov-grid-client/src/main/java/com/epmet/dto/result/PartyBranchListResultDTO.java +++ b/epmet-module/gov-grid/gov-grid-client/src/main/java/com/epmet/dto/result/PartyBranchListResultDTO.java @@ -21,4 +21,9 @@ public class PartyBranchListResultDTO implements Serializable { * 支部名称 */ private String partyBranchName; + + /** + * 党员总数 + */ + private Integer totalPartyMember; } diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/ListPartyBranchResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/ListPartyBranchResultDTO.java index ae84fd8030..b5d7e6cbce 100644 --- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/ListPartyBranchResultDTO.java +++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/ListPartyBranchResultDTO.java @@ -21,4 +21,9 @@ public class ListPartyBranchResultDTO implements Serializable { * 支部名称 */ private String partyBranchName; + + /** + * 党员总数 + */ + private Integer totalPartyMember; } diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerPartyBranchDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerPartyBranchDao.xml index e71f1c5acd..e9e1f1d17b 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerPartyBranchDao.xml +++ b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerPartyBranchDao.xml @@ -23,7 +23,8 @@ resultType="com.epmet.dto.result.ListPartyBranchResultDTO"> SELECT id as partyBranchId, - PARTY_BRANCH_NAME as partyBranchName + PARTY_BRANCH_NAME as partyBranchName, + TOTAL_PARTY_MEMBER AS totalPartyMember FROM customer_party_branch WHERE