|
|
@ -16,10 +16,7 @@ import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
import com.epmet.commons.tools.utils.HttpClientManager; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.constant.NeighborhoodConstant; |
|
|
|
import com.epmet.dao.CustomerGridDao; |
|
|
|
import com.epmet.dao.IcNeighborHoodDao; |
|
|
|
import com.epmet.dao.IcNeighborHoodPropertyDao; |
|
|
|
import com.epmet.dao.IcOrganizationCodeInfoDao; |
|
|
|
import com.epmet.dao.*; |
|
|
|
import com.epmet.dto.CustomerAgencyDTO; |
|
|
|
import com.epmet.dto.IcNeighborHoodDTO; |
|
|
|
import com.epmet.dto.IcNeighborHoodPropertyDTO; |
|
|
@ -30,10 +27,7 @@ import com.epmet.dto.form.IcUserBelongToChangedFormDTO; |
|
|
|
import com.epmet.dto.result.IcNeighborHoodResultDTO; |
|
|
|
import com.epmet.dto.result.OrganizationCommunityDTO; |
|
|
|
import com.epmet.dto.result.UploadImgResultDTO; |
|
|
|
import com.epmet.entity.IcHouseEntity; |
|
|
|
import com.epmet.entity.IcNeighborHoodEntity; |
|
|
|
import com.epmet.entity.IcNeighborHoodPropertyEntity; |
|
|
|
import com.epmet.entity.IcOrganizationCodeInfoEntity; |
|
|
|
import com.epmet.entity.*; |
|
|
|
import com.epmet.enums.OrganizationTypeEnums; |
|
|
|
import com.epmet.excel.IcNeighborHoodExcel; |
|
|
|
import com.epmet.feign.EpmetUserOpenFeignClient; |
|
|
@ -85,6 +79,8 @@ public class NeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao,I |
|
|
|
private IcOrganizationCodeInfoServiceImpl icOrganizationCodeInfoServiceImpl; |
|
|
|
@Autowired |
|
|
|
private OssFeignClient ossFeignClient; |
|
|
|
@Autowired |
|
|
|
private CustomerAgencyDao customerAgencyDao; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@ -153,9 +149,12 @@ public class NeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao,I |
|
|
|
log.warn("获取accessToken失败,customerId:{}", entity.getCustomerId()); |
|
|
|
throw new RenException("获取accessToken失败,customerId:{}", entity.getCustomerId()); |
|
|
|
} |
|
|
|
CustomerAgencyEntity agencyEntity = customerAgencyDao.selectById(entity.getAgencyId()); |
|
|
|
//跳转的页面
|
|
|
|
StringBuilder path = new StringBuilder(CollectUrlEnum.URL_PRE.getCode()); |
|
|
|
path.append("?neiId=").append(entity.getId()).append("&agencyId=").append(entity.getAgencyId()); |
|
|
|
path.append("?neiId=").append(entity.getId()) |
|
|
|
.append("&agencyId=").append(entity.getAgencyId()) |
|
|
|
.append("&agencyName=").append(agencyEntity.getOrganizationName()); |
|
|
|
|
|
|
|
//需要发送的Json
|
|
|
|
JSONObject data = new JSONObject(); |
|
|
|