java110
2022-04-13 3219ee5eb2c7de1e1401bd94cb4dc4d37195b244
service-job/src/main/java/com/java110/job/adapt/hcGov/car/AddCarToHcGovAdapt.java
@@ -103,9 +103,11 @@
        CommunityDto tmpCommunityDto = communityDtos.get(0);
        String extCommunityId = "";
        String communityId = tmpCommunityDto.getCommunityId();
        for (CommunityAttrDto communityAttrDto : tmpCommunityDto.getCommunityAttrDtos()) {
            if (HcGovConstant.EXT_COMMUNITY_ID.equals(communityAttrDto.getSpecCd())) {
                extCommunityId = communityAttrDto.getValue();
        if (tmpCommunityDto.getCommunityAttrDtos() != null && tmpCommunityDto.getCommunityAttrDtos().size() > 0) {
            for (CommunityAttrDto communityAttrDto : tmpCommunityDto.getCommunityAttrDtos()) {
                if (HcGovConstant.EXT_COMMUNITY_ID.equals(communityAttrDto.getSpecCd())) {
                    extCommunityId = communityAttrDto.getValue();
                }
            }
        }
        //查询车辆
@@ -134,7 +136,6 @@
        if (StringUtil.isEmpty(extPaId)) {
            return;
        }
        JSONObject body = new JSONObject();