|
|
@ -406,7 +406,7 @@ public class AgencyController { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"组织信息不存在"); |
|
|
|
} |
|
|
|
name = customerAgencyDTO.getOrganizationName(); |
|
|
|
}else if (type.equals(OrgInfoConstant.COMMUNITY)){ |
|
|
|
}else if (type.equals(OrgInfoConstant.NEIGHBOR_HOOD)){ |
|
|
|
IcNeighborHoodDTO icNeighborHoodDTO = neighborHoodService.get(id); |
|
|
|
if (icNeighborHoodDTO == null){ |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"小区信息不存在"); |
|
|
@ -417,7 +417,7 @@ public class AgencyController { |
|
|
|
//String url = "https://demo.tduckapp.com/s/7314b64b3a26455ab793fb8c640856b6?id="+id;
|
|
|
|
String url = EnvEnum.getCurrentEnv().getUrl().replace("api/", StrConstant.EPMETY_STR) |
|
|
|
.concat("epmet-oper-gov/#/caiji/") |
|
|
|
.concat(id).concat(StrConstant.QUESTION_MARK_TRANSFER) |
|
|
|
.concat(id).concat("?") |
|
|
|
.concat("name=").concat(name).concat(StrConstant.AND_MARK) |
|
|
|
.concat("type=").concat(type).concat(StrConstant.AND_MARK) |
|
|
|
.concat("userId=").concat(tokenDto.getUserId()) |
|
|
|