java110
2022-09-13 5944e78b1eb21b233a582e80a165bf74ce7746f0
service-community/src/main/java/com/java110/community/cmd/notice/SaveNoticeCmd.java
@@ -100,6 +100,12 @@
        Assert.hasKeyAndValue(reqJson, "startTime", "必选,请填写开始时间 ");
        Assert.hasKeyAndValue(reqJson, "endTime", "必选,请填写结束时间 ");
        String userId = cmdDataFlowContext.getReqHeaders().get("user-id");
        String storeId = cmdDataFlowContext.getReqHeaders().get("store-id");
        reqJson.put("userId",userId);
        reqJson.put("storeId",storeId);
    }
    @Override
@@ -162,7 +168,7 @@
            }
        } else {
            RoleCommunityDto orgCommunityDto = BeanConvertUtil.covertBean(reqJson, RoleCommunityDto.class);
            orgCommunityDto.setStaffId(userDtos.get(0).getStaffId());
            orgCommunityDto.setStaffId(userDtos.get(0).getUserId());
            count = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitysCount(orgCommunityDto);
            if (count > 0) {
                List<RoleCommunityDto> roleCommunityDtos = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitys(orgCommunityDto);