소스 검색

优化代码

java110 5 년 전
부모
커밋
98116d9ee8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      service-api/src/main/java/com/java110/api/listener/notice/SaveNoticeListener.java

+ 1 - 1
service-api/src/main/java/com/java110/api/listener/notice/SaveNoticeListener.java

@@ -88,7 +88,7 @@ public class SaveNoticeListener extends AbstractServiceApiPlusListener {
 
         List<ApiCommunityDataVo> communitys = null;
         if ("9999".equals(orgDtos.get(0).getBelongCommunityId())) {
-            CommunityDto communityDto = BeanConvertUtil.covertBean(reqJson, CommunityDto.class);
+            CommunityDto communityDto = new CommunityDto();
             communityDto.setMemberId(reqJson.getString("storeId"));
             communityDto.setAuditStatusCd(StateConstant.AGREE_AUDIT);
             communitys = BeanConvertUtil.covertBeanList(communityInnerServiceSMOImpl.queryCommunitys(communityDto), ApiCommunityDataVo.class);