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