java110 преди 4 години
родител
ревизия
5944e78b1e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      service-community/src/main/java/com/java110/community/cmd/notice/SaveNoticeCmd.java

+ 1 - 1
service-community/src/main/java/com/java110/community/cmd/notice/SaveNoticeCmd.java

@@ -168,7 +168,7 @@ public class SaveNoticeCmd extends Cmd {
             }
             }
         } else {
         } else {
             RoleCommunityDto orgCommunityDto = BeanConvertUtil.covertBean(reqJson, RoleCommunityDto.class);
             RoleCommunityDto orgCommunityDto = BeanConvertUtil.covertBean(reqJson, RoleCommunityDto.class);
-            orgCommunityDto.setStaffId(userDtos.get(0).getStaffId());
+            orgCommunityDto.setStaffId(userDtos.get(0).getUserId());
             count = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitysCount(orgCommunityDto);
             count = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitysCount(orgCommunityDto);
             if (count > 0) {
             if (count > 0) {
                 List<RoleCommunityDto> roleCommunityDtos = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitys(orgCommunityDto);
                 List<RoleCommunityDto> roleCommunityDtos = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitys(orgCommunityDto);