| | |
| | | Assert.listOnlyOne(storeDtos, "商户不存在"); |
| | | |
| | | int count = 0; |
| | | if (UserDto.LEVEL_CD_ADMIN.equals(userDtos.get(0).getLevelCd())) { |
| | | if (true) { |
| | | CommunityDto communityDto = BeanConvertUtil.covertBean(reqJson, CommunityDto.class); |
| | | communityDto.setMemberId(reqJson.getString("storeId")); |
| | | communityDto.setAuditStatusCd(StateConstant.AGREE_AUDIT); |
| | |
| | | RoleCommunityDto orgCommunityDto = BeanConvertUtil.covertBean(reqJson, RoleCommunityDto.class); |
| | | orgCommunityDto.setStaffId(userDtos.get(0).getStaffId()); |
| | | count = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitysCount(orgCommunityDto); |
| | | if (count > 0) { |
| | | if (false) { |
| | | List<RoleCommunityDto> roleCommunityDtos = roleCommunityV1InnerServiceSMOImpl.queryRoleCommunitys(orgCommunityDto); |
| | | communitys = BeanConvertUtil.covertBeanList(roleCommunityDtos, ApiCommunityDataVo.class); |
| | | for (RoleCommunityDto tmpOrgCommunityDto : roleCommunityDtos) { |