소스 검색

优化代码

java110 6 년 전
부모
커밋
8cbbf62cc3
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      service-api/src/main/java/com/java110/api/listener/community/ListAuditEnterCommunitysListener.java

+ 1 - 1
service-api/src/main/java/com/java110/api/listener/community/ListAuditEnterCommunitysListener.java

@@ -86,7 +86,7 @@ public class ListAuditEnterCommunitysListener extends AbstractServiceApiPlusList
         List<ApiCommunityDataVo> communitys = null;
         int count = 0;
         if (storeDtos.size() > 0) {
-            CommunityMemberDto communityMemberDto = new CommunityMemberDto();
+            CommunityMemberDto communityMemberDto = BeanConvertUtil.covertBean(reqJson,CommunityMemberDto.class);
             communityMemberDto.setNeedCommunityInfo(true);
             communityMemberDto.setNoAuditEnterCommunity(true);
             communityMemberDto.setMemberId(reqJson.getString("memberId"));