wuxw
2022-04-22 0a9b6e565843bd25e5ef37e979c7da9bbf3df218
service-user/src/main/java/com/java110/user/cmd/owner/OwnerCommunityCmd.java
@@ -20,7 +20,7 @@
import com.java110.utils.util.BeanConvertUtil;
import com.java110.vo.ResultVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.java110.core.log.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
@@ -71,6 +71,10 @@
        communityDto.setState("1100");
        communityDto.setCommunityIds(communityIds.toArray(new String[communityIds.size()]));
        List<CommunityDto> communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto);
        if(communityDtos == null || communityDtos.size()<1){
            cmdDataFlowContext.setResponseEntity(ResultVo.success());
            return ;
        }
        for (OwnerDto tmpOwnerDto : ownerDtos) {
            for (CommunityDto tmpCommunityDto : communityDtos) {
                if (!tmpCommunityDto.getCommunityId().equals(tmpOwnerDto.getCommunityId())) {